ericwu
(Eric Wu)
May 6, 2022, 1:43am
1
Hi all,
My graylog server time setting as below.
Incoming log content as beow.
The timezone seems all match.
But when I got a alert mail that will be show
That will show as Z format timezone.
My time’s field was setting “${foreach backlog message}${message.timestamp}${end}”
How can I fix the alert mail time field for my timezone GMT+8?
The soon to be released version 4.3 introduces a timezone setting for notifications. You’ll have to wait for that.
Graylog2:master
← Graylog2:alert-timezones
opened 01:56PM - 18 Jan 22 UTC
Adds a time zone setting to email event notifications.
We can easily extend the… approach to other event notifications if need be.
Specifically this PR
- Adds a "time zone" field to email event notifications, which defaults to "UTC" for existing notifications.
- Uses a custom object mapper to serialize dates with the configured time zone for template processing.
The time zone will also be included when a notification is added to a content pack.
Fixes #11418
2 Likes
system
(system)
Closed
May 20, 2022, 2:48pm
3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.