Questions tagged [timestamp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
35 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|...
user avatar
3 votes
1 answer
379 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 ...
user avatar
0 votes
0 answers
47 views

Replace datetime to unixtime on Apache error_log

I'm need create a script replace datetime to unixtime on error_log apache files error_log: [Mon Nov 01 21:48:54 2021] [:error] AH00898: Error reading from remote server returned by xxxxxxxxxx, referer ...
user avatar
  • 1
0 votes
1 answer
40 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.%...
user avatar
2 votes
1 answer
402 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 ...
user avatar
  • 125
0 votes
1 answer
210 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 ...
user avatar
  • 23
0 votes
1 answer
44 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. ...
user avatar
  • 225
0 votes
1 answer
59 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 ...
user avatar
  • 794
1 vote
1 answer
1k 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 ...
user avatar
  • 21
0 votes
1 answer
316 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 ...
user avatar
1 vote
0 answers
263 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=...
user avatar
1 vote
2 answers
1k 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 ...
user avatar
  • 301
5 votes
2 answers
5k 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 ...
user avatar
  • 221
-4 votes
1 answer
52 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, ..... } ...
user avatar
  • 135
1 vote
0 answers
157 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: ...
user avatar
  • 10.5k
8 votes
2 answers
1k 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 ...
user avatar
-1 votes
1 answer
179 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, ...
user avatar
  • 101
1 vote
1 answer
155 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 ...
user avatar
1 vote
1 answer
125 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 ...
user avatar
0 votes
0 answers
742 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 ...
user avatar
  • 173
2 votes
2 answers
1k 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 ...
user avatar
  • 21
1 vote
0 answers
140 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 ...
user avatar
-1 votes
1 answer
587 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 ...
user avatar
  • 1
-2 votes
3 answers
2k 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 ...
user avatar
  • 201
3 votes
1 answer
584 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 ...
user avatar
1 vote
1 answer
7k 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 ...
user avatar
2 votes
1 answer
2k 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 "...
user avatar
0 votes
1 answer
2k 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. ...
user avatar
  • 133
1 vote
1 answer
1k 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 +%...
user avatar
3 votes
1 answer
176 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 ...
user avatar
  • 141
0 votes
1 answer
5k 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 ...
user avatar
  • 159
0 votes
1 answer
65 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 ...
user avatar
0 votes
0 answers
939 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 ...
user avatar
  • 101
4 votes
2 answers
2k 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 ...
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 "...
user avatar
  • 2,658
1 vote
0 answers
173 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. ...
user avatar
8 votes
3 answers
9k 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 ...
user avatar
  • 103
0 votes
2 answers
83 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....
user avatar
0 votes
1 answer
650 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 ...
user avatar
1 vote
1 answer
593 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 ...
user avatar
2 votes
0 answers
202 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?
user avatar
2 votes
3 answers
2k 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 ...
user avatar
  • 125
7 votes
1 answer
3k 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.
user avatar
  • 171
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 ...
user avatar
0 votes
2 answers
728 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 ( ...
user avatar
  • 1
0 votes
1 answer
685 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 ...
user avatar
6 votes
2 answers
15k 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 ...
user avatar
2 votes
1 answer
2k views

Linux clients can't connect, server and TCP Windows Size / Timestamps issue

We have a problem that a number of clients (all linux Ubuntu) are sometimes not able to connect to a remote server over SSH. If the problem occurs, Windows clients don't have that problem and can ...
user avatar
0 votes
1 answer
206 views

sshd log file entries from the past mixed in with currently occurring entries [duplicate]

I have sshd log entries from the past seemingly randomly mixed in (in time) with the presently occurring log entries. No remote hosts log to this server, rsyslog serves only this box. External ...
user avatar
0 votes
2 answers
179 views

Forensics on tons of file changes [closed]

It has come to my attention that my CentOS 5.6 5.11 VPS has over 16,000 files with a timestamp during a 3-day period in September this year. I can't figure out why that is, as I did not log in via SSH ...
user avatar