I am trying to fix timestamp on my logs that are set 7 hrs backwards in time. It is not working, not sure why.
Configuration
- regex: ^(\d{4}-\d{2}-\d{2})\S(\d{2}:\d{2}:\d{2}.\d{3}).$
- replacement: $1 $2
- replace_all:
Converters
- date
- date_format: yyyy-MM-dd HH:mm:ss.SSS
- time_zone: America/Vancouver
- locale:
jan
(Jan Doberstein)
2
copy input extractor doesn’t work either. all misses
Is my format string right?
Message: 2018-10-18T03:49:32.000Z
Format String: yyyy-MM-dd HH:mm:ss.SSS
Ended up not needing this. I am now sending logs to syslog-ng server that fixes the date and other stuff and forwards the logs graylog
system
(system)
Closed
5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.