Skip to content
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

Cherry-pick #15906 to 7.x: Fix Filebeat Zeek Weird Ingest Pipeline #16037

Merged
merged 2 commits into from
Feb 4, 2020
Merged

Cherry-pick #15906 to 7.x: Fix Filebeat Zeek Weird Ingest Pipeline #16037

merged 2 commits into from
Feb 4, 2020

Conversation

kaiyan-sheng
Copy link
Contributor

Cherry-pick of PR #15906 to 7.x branch. Original message:

Some Zeek Weird logs do not contain IP addresses, causing the warning seen below:

Logstash Output
[2020-01-28T15:49:35,993][WARN ][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=>400, :action=>["index", {:_id=>nil, :_index=>"filebeat-zeek-2020.01.28", :routing=>nil, :_type=>"_doc", :pipeline=>"filebeat-7.5.2-zeek-weird-pipeline"}, #<LogStash::Event:0x3f1f2270>], :response=>{"index"=>{"_index"=>"filebeat-zeek-2020.01.28", "_type"=>"_doc", "_id"=>"r3PX7G8BxFIJZtUR_Ruu", "status"=>400, "error"=>{"type"=>"mapper_parsing_exception", "reason"=>"failed to parse field [destination.ip] of type [ip] in document with id 'r3PX7G8BxFIJZtUR_Ruu'. Preview of field's value: ''", "caused_by"=>{"type"=>"illegal_argument_exception", "reason"=>"'' is not an IP string literal."}}}}}

Sample from weird.log
{"ts":1580227259.342809,"name":"non_ip_packet_in_ethernet","notice":false,"peer":"ens3f1-4"}

* Update pipeline.json
* Fix zeek weird pipeline

(cherry picked from commit 6b9c8cb)
@kaiyan-sheng kaiyan-sheng requested a review from a team as a code owner February 3, 2020 17:29
@kaiyan-sheng kaiyan-sheng self-assigned this Feb 3, 2020
Copy link
Contributor

@sayden sayden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kaiyan-sheng kaiyan-sheng merged commit ab96f50 into elastic:7.x Feb 4, 2020
@kaiyan-sheng kaiyan-sheng deleted the backport_15906_7.x branch February 4, 2020 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants