Hello, I am sorry to re-hash the same issue others have had but I can't seem to get the fixes they have done to work for my environment and it has driven me crazy trying to figure it out.
So right now, when I setup FileBeat panw module and send syslog data from our PaloAlto to the filebeat module the time is always 4 hours prior to what real time is. From the document to setup I need to remove this functionality but I can't seem to get that right. Here is what I have:
filebeat.overwirte_pipelines: true
#filebeat.config.modules:
# Glob pattern for configuration loading
#path: ${path.config}/modules.d/*.yml
# Set to true to enable config reloading
#reload.enabled: false
# Period on which files under path should be checked for changes
#reload.period: 10s
filebeat.modules:
- module: panw
panos:
enabled: true
var.syslog_host: 0.0.0.0
var.syslog_port: 9001
#var.convert_timezone: true
processors:
# - drop_fields.fields: ["event.timezone"]
# - add_fields:
# target: event
# fields:
# timezone: 'America/New_York'
- drop_fields:
fields: ["event.timezone"]
ignore_missing: true
As you can see from the config I have tried a lot of items and none of them seem to work. After every change I make sure I delete the pipelines and data out so that I am working with only fresh data. I have also set timezone on my server to be UTC, +4 from UTC and nothing changes the data. It is always 4 hours in the past when looking at it.
I get this same data a different method using Logstash and I set the timezone to America/New_York when the data is first ingested. When looking at the index all data is the right time. I just don't know how to do the same thing with Filebeat that I am doing with Logstash.
Any help on my config or leading me into a different place to make this work would be great.
This is Filebeat 7.4.0