Questions tagged [timestamp]
The timestamp tag has no usage guidance.
92
questions
0
votes
0
answers
41
views
InfluxDB influxQL v1.8 : Wrong timestamp used for writing to database
I wrote a bash script for inserting the summary of the daily energy database "xxx_d" into the monthly database "xxx_m" - triggered on every 1st day of the month at 02 o'clock by a ...
1
vote
1
answer
40
views
What data type do big applications use to store time data?
I am trying to find out which data type is better to store time data inside either MySQL or Cassandra database for a big application like Facebook or Instagram? There are a lot of similar questions ...
0
votes
1
answer
712
views
Dmesg to real timestamp
I would like convert my Centos 6.10 dmesg in real timestamp, how do I do this? I tried with -T but no luck. I have long entry like (1630230907.320:2)
0
votes
1
answer
257
views
Geting UNIX Timestamp while logging history
I am running below bash script which is saving the history in a file, however it is logging the history with Unix epoch timestamp. I need the timestamp in human readable format.
_who_am_i=$(who am i|...
3
votes
1
answer
3k
views
Interpreting LastLogon vs. LastLogonTimestamp
To get the time of last logon of an account in an Active Directory of a Windows domain im querying the LastLogon attribute on every Domain Controller and the LastLogonTimestamp on one domain ...
0
votes
1
answer
77
views
Substitute a string into timestamp
I want to use mod_substitute or mod_ext_filter to replace a string with the current timestamp in miliseconds.
I tried so far, but it's not working.
Substitute "1s/myString/&$(date +"%T.%...
2
votes
1
answer
1k
views
Preserve transferred folder's modification date when downloading from SFTP server
I'm looking for an way to download folders to a Windows machine from an SFTP server, while preserving transfer folder's modification date.
Servers I'm copying from uses Linux.
I know that most of SFTP ...
0
votes
1
answer
513
views
OpenVPN server log - what is the "us=" identifier following the timestamp?
I use OpenVPN 2.3.10 in server mode, with logging set to verb 4.
In the log, every line begins by a timestamp (Mon May 11 10:40:10 2020) and then us=, followed by a 5- or 6-digit number. What is this ...
0
votes
1
answer
51
views
PHP time() around 70 seconds off
As the title suggest a server I am running is producing a timestamp created by the PHP time() function that is about 60-70 slow.
The server did not have this problem and it has come out of the blue.
...
0
votes
1
answer
255
views
Logging changes to file change/modify attributes
System is Centos8
I need to determine what process is touching a file without making any changes in content. I've tried auditctl but it does not seem to have a filesystem watch that can track these ...
1
vote
1
answer
2k
views
UNIX Copy/Move files in same directory preserving timestamp
Following is the scenario. There are multiple files in a directory created by users belonging to same unix group.
Unix Group: Prod.
User in Prod Unix Group: User1 User2 User3.
All 3 users have same ...
1
vote
1
answer
500
views
syslog-ng freezes/doesnt log when it encounters log messages with older time stamp
we are seeing issue with syslog-ng 3.8.1 dropping logs with older timestamp. Our system has an issue in persisting hardware clock after a reboot however, it might be an issue even with ntp jitter as ...
1
vote
0
answers
305
views
SHA256 timestamps from comodo vs symantec for 2008r2 drivers
When signing a cab with a sha256 EV certificate we wanted to also use a sha256 timestamp. When trying with the comodo (where we got the EV cert) server we tried:
/tr http://timestamp.comodoca.com/?td=...
1
vote
2
answers
2k
views
mysqldump 5.7 to 5.5 compatibility
I am trying to export data from mysql 5.7 in to mysql 5.5 server. The problem that i am facing is that 5.5 does not support more than one ON UPDATE CURRENT_TIMESTAMP, but the 5.7 has multiple ...
8
votes
2
answers
7k
views
Copy (sync) timestamps only of already copied files and folders in Windows
I have problem with lost timestamps ( creation date ) on files copied using Total Commander - only modification date remained. It's hundreds thousands of files and few TB of data, so I prefer not to ...
-4
votes
1
answer
53
views
What does it mean in log file: month: 1432
I came aross a log format (from a data management product called Immuta) in Json which shows:
{
"id": "5cbe96c0-70fa-11e9-996b-21bef380b159",
"dateTime": "1557255621161",
"month": 1432,
.....
}
...
2
votes
0
answers
263
views
Convert absolute time in log lines to relative intervals
Given a normal text-format line-oriented log file with timestamps in absolute form, is there any convenient tool that converts them to relative time-intervals?
e.g.
2019-01-11 19:31:35 UTC LOG: ...
8
votes
2
answers
2k
views
linux system time temporally jumps
I saw a strange system time changing behavior in some (hardware) servers: in /var/logs/syslog, the date time preceding each log message sometimes change to a random one and gets back to normal in the ...
-1
votes
1
answer
329
views
Get client time on Apache server
I actually have two questions:
1) The timestamp in Apache error.log file is client's time or the server's?
2) If I connect to the server via command line and execute the command HEAD / HTTP/1.0, ...
1
vote
1
answer
218
views
Is GNU tar incremental backup reliable if ext4 is mounted with noatime?
My system is running on SSD on top of LVM logical volume, formatted to ext4. I'm using noatime option at my fstab for this partition.
I'm going to do incremental backups of system partition using LVM ...
1
vote
1
answer
170
views
No timestamp on standard error
Using fping and redirecting stout and stderr to the same file.
fping -lDf IPlist >IPoutput 2>&1
The "host unreachable" error messages in the file have no timestamps.
How do I get ...
0
votes
0
answers
999
views
HTTP Proxy excessive connections in TIME_WAIT, high CPU
We are experiencing a high level of connections entering the TIME_WAIT state on our proxy server during a time window that produces bursty traffic - tens of thousands of connections every minute for ...
2
votes
2
answers
2k
views
How does one keep a file's timestamp (date modified) after a logrotate?
Title says it all, I have a log rotate set up daily for some rather large log files. Sometimes we can generate 3 of these a day, sometimes we only generate 1, they're each about 500MB. Is there a way ...
1
vote
0
answers
176
views
Does Authenticator Timestamps in Kerberos Tickets from Active Directory have Microsecond Granularity?
We have a problem with false positives in Kerberos replay detection. It happens more often than we would expect. Our KDC is Active Directory. I have come to suspect that the timestamps in the ...
5
votes
7
answers
3k
views
What format are DMARC dates?
I have a DMARC report that includes:
<date_range>
<begin>1500249600</begin>
<end>1500335999</end>
</date_range>
How do I convert the dates to something human?
-1
votes
1
answer
738
views
How to change Tcp timestamp value?
The question is straightforward and simple.
I want to know how to change the value of tcp timestamps manually in windows. I know how to disable them but i want to know the process of changing tcp ...
-2
votes
3
answers
3k
views
Incorrect Ubuntu server time [closed]
I use 14.04.1-Ubuntu. When execute date in command line, I get time which about 1 min different comparing Greenwich Mean Time or other source. I synchronized it using sudo ntpdate -s time.nist.gov few ...
3
votes
1
answer
1k
views
Does 'right clicking on the file' update its last access time?
I am checking file's last access time using GetFileTime, It works. But it even gives me the time the time I last right clicked on it, is this expected ? but it doesn't show up in Accessed: field in ...
1
vote
1
answer
8k
views
Get remote system time from ICMP timestamp
I read from an article that ICMP Timestamp can be used to determine system time so I tried hping3 192.168.1.x --icmp --icmp-ts -V. The output shows
len=46 ip=192.168.1.x ttl=xx id=xxxx tos=0 iplen=40 ...
3
votes
1
answer
3k
views
rsyslog: How do I split the events in a log file into separate files if it contains a keyword?
I'm receiving syslog data in a .log file. That file contains two types of events. An event that only contains the syslog datetime stamp and an event that contains the syslog datetime stamp and a "...
0
votes
1
answer
3k
views
hping3 not returning tcp timestamp
A recent pentest revealed that the TCP timestamp option was enabled. I have tried to reproduce the pentesters' result using
hping3 --tcp-timestamp -S -p 80 xx.xx.xx.xx
but the tool never returns. ...
1
vote
1
answer
2k
views
Timestamp comparison on AIX without date -d
I have a bash script on AIX 7 that runs a database query and the output I get is a timestamp in the following format: 201607130319.
Now I would like to compare the timestamp with current time (date +%...
3
votes
1
answer
247
views
Interpreting timestamp format on iDRAC servers
The timestamp format on the DELL iDRAC format I have is the following:
20160714195526.000000+000
20150325225105.000000+000
20150311200640.000000-300
How should I interpret it (I want to parse it to ...
0
votes
1
answer
6k
views
MONIT: Monitoring logfile on counting and changes of timestamp
I want to monitor a logfile and I am only interested in the "Received new block" lines. I need two different scripts to monitor
The height, which should always be one number higher then the height in ...
0
votes
1
answer
150
views
Wanting Cifs / Samba to restamp times with server-time for "mv" commands
Short background
I have built a small cluster of linux machines and been creating and running scripts for distributed computing. After having gotten some basic things up and running now I'm tuning ...
0
votes
0
answers
1k
views
Use of PTPd on RedHat/CentOS
I need to create a reliable and accurate synchronization between two CentOS 6 machines connected through a direct Ethernet connection.
I've seen that on Linux several implementation of the IEEE 1588 ...
5
votes
2
answers
3k
views
How do I identify an Authenticode timestamp vs. an RFC 3161 compliant timestamp?
When signing code with Microsoft's Signtool, there are a couple different options when specifying a timestamp URL, /t and /tr.
/t can specify an Authenticode timestamp URL and /tr is supposed to be ...
3
votes
1
answer
2k
views
Logstash event @timestamp adjustment
I have standard Windows IIS log files with event date/time stamp information and timetaken (in milliseconds).
I would like to be able to adjust the event time (@timestamp) by subtracting the "...
1
vote
0
answers
227
views
server large jiffies during boot(Calibrating delay loop...)
The server behaves abnormal, I checked the dmesg log , found the jiffies is very large during boot, between Detected cpu and Calibrating delay loop..
reboot the server does not solve the problem. ...
12
votes
3
answers
13k
views
Can nginx log time in ISO 8601 format, but include milliseconds?
We have Nginx as a reverse proxy in front of Tomcat. Both of them log access with ISO 8601 timestamps, but tomcat adds in milliseconds (which is part of the standard). So if Nginx gets a request and ...
0
votes
2
answers
108
views
Compare the time stamp of Suse linux
I am try to compare the two time file based on their modify/lastchange time stamp & then copy the file to some folder code below
#!/bin/sh
cd /sapmnt/audit/
echo $PWD
t1= stat -c %z audit....
0
votes
1
answer
843
views
Kibana: Timestamp field looks different from the Table and JSON fields in the UI
From the combined screenshot can you tell why there is a difference in timestamp for a log entry in different views in Kibana UI.
Update:
My timezone is +5:30 GMT, but I need the logs to show up ...
1
vote
1
answer
755
views
How to append unix timestamp to each line output file
I'm running the following command and storing the stdout into a text file. I need to add unix timestamp to each line output file to figure out start and end time of each operation.
$ ./bin/ycsb load ...
2
votes
0
answers
235
views
Apache directory listing show seconds in "Last modified" (full time)
Is it possible in Apache Directory listing to show full time, including seconds in "Last modified" column? Can I change the format of this timestamp?
3
votes
3
answers
3k
views
What is timestamp format of iptables recent proc-file?
I want to understand meaning of records in /proc/net/xt_recent/ip_list file (which is created by recent extension of iptables), e.g:
src=127.0.0.1 ttl: 128 last_seen: 4298627364 oldest_pkt: 3 ...
8
votes
1
answer
4k
views
Adding timestamps to supervisord logs
Is it possible to let supervisord add timestamps to the outputs in stdout_logfile and stderr_logfile? I couldn't find it anything about that in the documentation.
0
votes
0
answers
2k
views
Timestamp response behaviors in different tools
I was testing out icmp time stamp response on one of my servers using ping and hping3.
Here is result of hping3
# hping3 --icmp-ts x.x.x.x
HPING x.x.x.x: icmp mode set, 28 headers + 0 data bytes
...
1
vote
2
answers
868
views
Wrong date/time in dmesg
we have this strange issue. We use perl script for human-readable time-stamp in dmesg (taken from http://linuxaria.com/article/how-to-make-dmesg-timestamp-human-readable) and I also tried this one ( ...
0
votes
1
answer
919
views
Rsync : copying over timestamps only by filename
I'm trying to do almost the same in this question:
Rsync : copying over timestamps only
But in this case, some os the files were already modified...
There is any way to change just the timestamp ...
6
votes
2
answers
17k
views
Block ICMP timestamp & timestamp reply with firewalld
OS: CentOS 7.0
Per the results of a security scan, it has been suggested that we block ICMP timestamp & timestamp reply messages using the firewall (CVE-1999-0524). I've used firewalld to set up ...