Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e758fb2

Browse files
pragkentjsoriano
authored andcommittedAug 29, 2019
Fix filebeat kafka module ingest timezone (elastic#13368)
Continuation of elastic#13308 (cherry picked from commit fed669d)
1 parent 3090791 commit e758fb2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed
 

‎filebeat/module/kafka/log/ingest/pipeline.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,12 @@
6868
{
6969
"date": {
7070
"if": "ctx.event.timezone != null",
71-
"field": "@timestamp",
72-
"formats": ["ISO8601"],
71+
"field": "kafka.log.timestamp",
72+
"target_field": "@timestamp",
73+
"formats": ["yyyy-MM-dd HH:mm:ss,SSS"],
7374
"timezone": "{{ event.timezone }}",
74-
"on_failure": [{"append": {"field": "error.message", "value": "{{ _ingest.on_failure_message }}"}}]
75-
}
75+
"on_failure": [{"append": {"field": "error.message", "value": "{{ _ingest.on_failure_message }}"}}]
76+
}
7677
},
7778
{"remove": {"field": "kafka.log.timestamp" }}
7879
],

0 commit comments

Comments
 (0)
Please sign in to comment.