I want to know whether it is possible for the parser to add a timezone when the log timestamp is in Unix time.
I tried the following code, but when logtime is in Unix time, it results in an error, and I confirmed that the current time is inserted as the timestamp instead.
---------------
date {
match => ["logtime", "yyyy-MM-dd HH:mm:ss"]
timezone => "America/New_York"
on_error => "no_match"
}
---------------
I also considered adding a numeric timezone offset to the Unix time before the date function, but it seems that the parser cannot perform arithmetic operations.
Is it technically possible to add a timezone to a Unix timestamp in the first place?
