-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filebeat 'system' module assumes UTC in ingest pipeline #3898
Comments
This issue should be labeled as a bug. My analysis: When using Filebeat 5.3.0 the module "system" is writing the false timestamp to Elasticsearch. Actually this message was written at 2017-04-06T15:20:07.149Z For example the module "apache2" ist working correctly, as of Kibana: This message was written at 2017-04-06T15:11:27.521Z Version: 5.3.0 |
I think #3902 will be a first step to solve the problem. |
My workaround, in file: /usr/share/filebeat/module/system/syslog/ingest/pipeline.json Change:
To:
Delete the "old" pipeline: curl -XDELETE "http://localhost:9200/_ingest/pipeline/filebeat-5.3.0-system-syslog-pipeline" Make sure that the "new" pipeline was loaded: curl -XGET "http://localhost:9200/_ingest/pipeline/filebeat-5.3.0-system-syslog-pipeline" |
We need a way to tell the date ingest processor about our @talevy Is this something you would consider adding to the processor? If so I can open an enhancement ticket on ES side. |
I was also looking at the same. The Logstash |
@tsg the modification to allow templating of |
This adds a `convert_timezone` fileset parameter that, when enabled, does two things: * Uses the `add_locale` processor in the FB proespector config * Uses `{{ beat.timezone }}` as the `timezone` parameter for the date processor in the Ingest Node pipeline. This parameter accepts templates starting with ES 6.1. For the moment the `convert_timezone` flag is off by default, to keep backwards compatibility and because it results in an error when used with ES < 6.1. Closes elastic#3898. For now this is only applied to the system module, but likely more modules would benefit from this feature.
* Use local timezone for TZ conversion in the FB system module This adds a `convert_timezone` fileset parameter that, when enabled, does two things: * Uses the `add_locale` processor in the FB proespector config * Uses `{{ beat.timezone }}` as the `timezone` parameter for the date processor in the Ingest Node pipeline. This parameter accepts templates starting with ES 6.1. For the moment the `convert_timezone` flag is off by default, to keep backwards compatibility and because it results in an error when used with ES < 6.1. Closes #3898. For now this is only applied to the system module, but likely more modules would benefit from this feature. * Automatically turn off given options depending on the ES version. * Added the convert_timezone flag to the auth fileset as well * Added tests * Docs & changelog * Addressed comments
My initial question on ES discuss:
Response from @tsg:
For confirmed bugs, please report:
The text was updated successfully, but these errors were encountered: