Hello friends,
Good afternoon. Could someone help me how to make the Timestamp/timestamp have the correct time instead of 00:00:00.
I would like the “message” time in this example to be 00:21:38.
For the other assets (inputs) everything is correct, but for this one in particular it is dated 00:00:00 -03:00
Hello friends, I come to bring the solution that a colleague from the Telegram group Graylog Brazil passed to solve the impasse and impact of Timestamp/timestamp with stamp 00:00:00
I’m using Graylog 3.3.14+13e45b7 on graylog (Private Build 1.8.0_292 on Linux 4.15.0-151-generic) VM.
Pipeline Rules
rule "timestamp_now+2"
when
has_field("timestamp")
then
let new_date = now(
timezone: "America/Bahia");
set_field("timestamp", new_date);
end
In the attached image, see that the timestamp is 00:00:00 after applying the filter, the message stamps correctly.