-
Incident report
-
Resolution: Unresolved
-
Trivial
-
None
-
6.0.21
-
None
Steps to reproduce:
- Configure logrt item for a Zabbix agent on Linux:
-
- logrt item for file /tmp/test
- Log time format = yyyy-MM-dd hh:mm:ss
- Preprocessing rule: Regexp: .* -> 20\0 (= whatever string, add "20" in front of it)
- echo "23-08-31 18:22:05 testing" >> /tmp/test
Result:
Timestamp | Local time | Value |
---|---|---|
2023-08-31 18:22:06 | 2023-08-31 18:22:05 testing |
= string conforms to the configured log time format but local time is not parsed.
Expected:
It is expected that the local time is parsed according to the log time format from the preprocessed string.