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

Set timezone (UTC) in events #161

Open
psuhaj opened this issue Mar 26, 2021 · 2 comments
Open

Set timezone (UTC) in events #161

psuhaj opened this issue Mar 26, 2021 · 2 comments

Comments

@psuhaj
Copy link

psuhaj commented Mar 26, 2021

Hello. I wanted to ask if there is any way to configure evebox to display UTC time and not local time. For example I set UTC time on capture machine where suricata runs, the eve.json file contains timestamps in UTC but if I connect to evebox remotely then in the events local time is displayed. The original timestamp of suricata event is displayed in the event details. For example suricata logs in UTC 0(that is what I want to display in evebox too), my machine has UTC 1 then the events have timestamp in UTC 1. I want the displayed time to be the same as the time in suricata events. Thank you.

@jasonish
Copy link
Owner

Internally EveBox works on UTC, however, its the display logic in the JavaScript that unconditinally converts it to local time. I'll look into a client-side setting to change this. For simplicity, I'll probably just allow the user to choose local time or UTC.

@psuhaj
Copy link
Author

psuhaj commented Mar 29, 2021

Yes I noticed that for example when EveBox creates indices hourly then the hour in the index name is in UTC but the display time is local time. A simple option in the GUI would be nice. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants