Skip to content

Parsing journalctl datetime format (unix timestamp and ISO) #2606

Answered by allinurl
pacien asked this question in Q&A
Discussion options

You must be logged in to vote

This should bring you closer to your desired outcome.

echo 'google.com:80 ::1 - - [1704646003.544462] "OPTIONS * HTTP/1.0" 200 136 "-" "Apache (internal dummy connection)" 172' | goaccess - --log-format='%v:%^ %h %^[%x.%^] "%r" %s %b "%R" "%u" %D' --date-format=%s --time-format=%s --date-spec=min

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@allinurl
Comment options

Answer selected by pacien
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants