Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug #1441: add timezone to timestamp in JSON logs #1436

Closed
wants to merge 1 commit into from
Closed

Bug #1441: add timezone to timestamp in JSON logs #1436

wants to merge 1 commit into from

Conversation

gozzy
Copy link
Contributor

@gozzy gozzy commented Apr 17, 2015

This should fix #1441 by adding offet to timestamp in JSON logs.

@gozzy
Copy link
Contributor Author

gozzy commented Apr 17, 2015

Writes timestamps like "2015-04-17T17:55:02.839783+03:00" - log servers or databases should parse this without any problems (tested on PostgreSQL and nxlog).

@gozzy
Copy link
Contributor Author

gozzy commented Apr 17, 2015

Hmm, this doesn't work on FreeBSD, should do something else.

@gozzy
Copy link
Contributor Author

gozzy commented Apr 17, 2015

@alessandro-guido, I've thought about tm_gmtoff, but afaik it's not portable. I've made another pull request, that should be a bit better.

@gozzy gozzy deleted the eve_log_timezone branch April 17, 2015 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant