Skip to content

Commit

Permalink
Fix filebeat kafka module ingest timezone (#13368)
Browse files Browse the repository at this point in the history
Continuation of #13308
  • Loading branch information
pragkent authored and jsoriano committed Aug 29, 2019
1 parent b1893f2 commit fed669d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions filebeat/module/kafka/log/ingest/pipeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,12 @@
{
"date": {
"if": "ctx.event.timezone != null",
"field": "@timestamp",
"formats": ["ISO8601"],
"field": "kafka.log.timestamp",
"target_field": "@timestamp",
"formats": ["yyyy-MM-dd HH:mm:ss,SSS"],
"timezone": "{{ event.timezone }}",
"on_failure": [{"append": {"field": "error.message", "value": "{{ _ingest.on_failure_message }}"}}]
}
"on_failure": [{"append": {"field": "error.message", "value": "{{ _ingest.on_failure_message }}"}}]
}
},
{"remove": {"field": "kafka.log.timestamp" }}
],
Expand Down

0 comments on commit fed669d

Please sign in to comment.