Questions tagged [epoch-time]
5 questions
5
votes
2 answers
date +%s glitches
I have a strange issue I'm starting to troubleshoot and wondered if anyone would have any helpful tips.
I have a cronjob executed every minute that executes a script and appends the output to a file on a filer. The job prints the current timestamp…

RnR
- 153
- 6
4
votes
3 answers
Convert SELinux log date format from Epoch to Normal
When SELinux logs an event to the audit log on my CentOS 6 system, it's logging it in epoch time which makes for a real hassle when trying to troubleshoot. Is there any way to make it log these events using human readable date formats? I've looked…

Safado
- 4,786
- 7
- 37
- 54
2
votes
1 answer
convert date time epoch in miliseconds to UTC human readable format
I am trying to convert date time in epoch to UTC human readable format, I have tried this and this gives me the result in CET but wrong result.
perl -e 'print scalar localtime(1549950859468 / 1000)
Tue Feb 12 06:54:19 2019
How should it be done in…

Alex
- 172
- 1
- 1
- 8
0
votes
2 answers
Logstash: UNIX Epoch time not getting converted to readable format
I have setup an ELK stack and I am trying to parse squid log entries.
And I am having a problem trying to convert the following UNIX/Epoc time as
1442469455.757
to a human readable format.
While trouble shooting I get the following error:
Received…

Ajov Crowe
- 133
- 1
- 5
- 12
0
votes
1 answer
What was linux/unix time standard before inventing epoch?
As in the title, I was looking for, but hadn't found. How were time stored and processed before epoch standardizing in 2000?

Piotr
- 11
- 1