Graylog2 / Graylog2/graylog2-server
Add frontend/UI support for user-defined timezone in log exports
- Dominant language
- Java
- Stars
- 8.1k
- Forks
- 1.1k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 217
Description
ref: https://github.com/Graylog2/graylog2-server/pull/11734
When exporting logs via API, there is an optional `time_zone` field that can be used to set the TZ of exported logs. If not set UTC is used.
This option should be included in the dialog box in the UI as well. See HS #1439485767 for support for this use case from a paying customer.
A simple drop-down menu or text field in the Export UI that allows user to select TZ at time of export should suffice.
## Why?
See HS #1439485767. In order to get customer's Dashboard Widget to show daily intervals that start at 00:00:00 they had to change their user timezone to UTC. However, the logs from source device were in EST (even though no TZ was provided in original log). Even so, customer's desired outcome is a CSV export of logs set to EST time, which is unattainable at this time.
## Your Environment
* Graylog Version: 5.0.1
* Opensearch Version: 1.3.5
* MongoDB Version: 4.0.28
* Operating System: Ubuntu 20.04
* Browser version: n/a
Contributor guide
Assessment
This issue has not been assessed yet.