Questions tagged [timestamp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
46 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 ...
6a5h4's user avatar
  • 1
1 vote
1 answer
43 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 ...
best_of_man's user avatar
0 votes
1 answer
971 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)
Neha Patil's user avatar
0 votes
1 answer
275 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|...
Dinesh Kumar's user avatar
3 votes
1 answer
4k 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 ...
Johannes B. Latzel's user avatar
0 votes
1 answer
86 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.%...
the_floor's user avatar
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 ...
Omar's user avatar
  • 125
0 votes
1 answer
548 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 ...
zire's user avatar
  • 23
0 votes
1 answer
52 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. ...
Imag1ne's user avatar
  • 225
0 votes
1 answer
318 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 ...
Ex Umbris's user avatar
  • 854
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 ...
Jolly J's user avatar
  • 21
1 vote
1 answer
531 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 ...
Srinadh Penugonda's user avatar
1 vote
0 answers
320 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=...
kensands's user avatar
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 ...
Auris's user avatar
  • 361
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 ...
mike's user avatar
  • 271
-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, ..... } ...
mdivk's user avatar
  • 145
2 votes
0 answers
271 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: ...
Craig Ringer's user avatar
  • 11.2k
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 ...
Zhaohui Yang's user avatar
-1 votes
1 answer
342 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, ...
Nick's user avatar
  • 101
1 vote
1 answer
230 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 ...
Dmitriusan's user avatar
1 vote
1 answer
174 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 ...
jonathan_whitelist's user avatar
0 votes
0 answers
1k 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 ...
Freddie's user avatar
  • 173
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 ...
T Jones's user avatar
  • 21
1 vote
0 answers
189 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 ...
Karsten Spang's user avatar
6 votes
7 answers
4k 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?
Greg Pagendam-Turner's user avatar
-1 votes
1 answer
772 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 ...
jack's user avatar
  • 1
-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 ...
Justas's user avatar
  • 221
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 ...
Jaimin Ajmeri's user avatar
1 vote
1 answer
9k 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 ...
akgren_soar's user avatar
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 "...
user3002's user avatar
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. ...
Leo's user avatar
  • 133
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 +%...
Debianuser's user avatar
3 votes
1 answer
251 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 ...
syntagma's user avatar
  • 141
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 ...
John Doof's user avatar
  • 179
0 votes
1 answer
165 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 ...
mathreadler's user avatar
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 ...
Claudio's user avatar
  • 101
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 ...
Gregordinary's user avatar
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 "...
Guy's user avatar
  • 2,678
1 vote
0 answers
230 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. ...
user319514's user avatar
12 votes
3 answers
14k 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 ...
SamBarham's user avatar
  • 143
0 votes
2 answers
112 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....
Abhinav's user avatar
0 votes
1 answer
866 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 ...
Ajov Crowe's user avatar
1 vote
1 answer
772 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 ...
hossein's user avatar
  • 181
2 votes
0 answers
252 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?
stoyandimitrov's user avatar
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 ...
shau-kote's user avatar
  • 135
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.
Norbert's user avatar
  • 181
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 ...
JinPangPang's user avatar
1 vote
2 answers
886 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 ( ...
Hudsik's user avatar
  • 11
0 votes
1 answer
945 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 ...
treskilimei's user avatar
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 ...
5ELuqLbb85Hk's user avatar