Redis count getting filled up with unprocessed logs #9707
Replies: 5 comments 2 replies
-
I ended up adding a zeek bpf of port 0 to this to stop this, still getting a full redis |
Beta Was this translation helpful? Give feedback.
-
Can you share your architecture, resources? |
Beta Was this translation helpful? Give feedback.
-
I have the same issue with source.port and destination.port: invalid source port[2023-03-17T00:18:10,323][WARN ][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. status: 400, action: ["index", {:_id=>nil, :_index=>"so-zeek", :routing=>nil, :pipeline=>"zeek.conn"}, {"message"=>"{\"ts\":1679012202.939426,\"uid\":\"C2KqSR14ewmHtvuKBj\",\"id.orig_h\":\"0.0.0.0\",\"**id.orig_p\":0**,\"id.resp_h\":\"255.255.255.255\",\"id.resp_p\":0,\"proto\":\"udp\",\"duration\":23.736912965774536,\"orig_bytes\":1095,\"resp_bytes\":0,\"conn_state\":\"S0\",\"local_orig\":false,\"local_resp\":false,\"missed_bytes\":0,\"history\":\"D\",\"orig_pkts\":3,\"orig_ip_bytes\":1179,\"resp_pkts\":0,\"resp_ip_bytes\":0,\"orig_mac_oui\":\"Dell Inc.\",\"community_id\":\"1:Umv47YEUoUWvlS0s3Clq9jNmCLs=\"}", "agent"=>{"version"=>"8.6.2", "id"=>"fc9c598e-fb07-4ddd-a678-e7e6a0fa8da7", "type"=>"filebeat", "name"=>"node-10", "ephemeral_id"=>"01a247e0-0572-42cb-8f0f-ac48ad609f57"}, "type"=>"redis-input", "module"=>"zeek", "host"=>{"name"=>"node-10"}, "log"=>{"file"=>{"path"=>"/nsm/zeek/logs/current/conn.log"}, "offset"=>191594396}, "@Version"=>"1", "dataset"=>"conn", "category"=>"network", "ecs"=>{"version"=>"8.0.0"}, "@timestamp"=>2023-03-17T00:18:06.990Z, "metadata"=>{"version"=>"8.6.2", "beat"=>"filebeat", "type"=>"_doc", "ip_address"=>"10.0.115.160"}, "tags"=>["beats_input_codec_plain_applied"]}], response: {"index"=>{"_index"=>"so-zeek", "_id"=>nil, "status"=>400, "error"=>{"type"=>"illegal_argument_exception", "reason"=>"invalid source port [0]"}}}invalid destination port[2023-03-17T00:26:27,776][WARN ][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. status: 400, action: ["index", {:_id=>nil, :_index=>"so-zeek", :routing=>nil, :pipeline=>"zeek.conn"}, {"message"=>"{\"ts\":1679012782.465766,\"uid\":\"CQ8DjC4UmDBcSAvwTc\",\"id.orig_h\":\"175.31.254.92\",\"id.orig_p\":8716,\"id.resp_h\":\"xx.xx.xx.xx\",\"id.resp_p\":0,\"proto\":\"tcp\",\"conn_state\":\"S0\",\"local_orig\":false,\"local_resp\":true,\"missed_bytes\":0,\"history\":\"S\",\"orig_pkts\":1,\"orig_ip_bytes\":40,\"resp_pkts\":0,\"resp_ip_bytes\":0,\"orig_mac_oui\":\"Nokia\",\"community_id\":\"1:6PtCKFXHM1aJG3FmCtTsl73dPt0=\"}", "@timestamp"=>2023-03-17T00:26:28.242Z, "log"=>{"file"=>{"path"=>"/nsm/zeek/logs/current/conn.log"}, "offset"=>65589171}, "tags"=>["beats_input_codec_plain_applied"], "module"=>"zeek", "host"=>{"name"=>"node-11"}, "metadata"=>{"version"=>"8.6.2", "ip_address"=>"10.200.3.33", "beat"=>"filebeat", "type"=>"_doc"}, "agent"=>{"version"=>"8.6.2", "ephemeral_id"=>"46469f23-963b-4c37-8a4a-16988a4c0d51", "id"=>"0fab6ba2-cb54-4a23-adb2-0d525b776839", "type"=>"filebeat", "name"=>"node-11"}, "category"=>"network", "ecs"=>{"version"=>"8.0.0"}, "dataset"=>"conn", "@Version"=>"1", "type"=>"redis-input"}], response: {"index"=>{"_index"=>"so-zeek", "_id"=>nil, "status"=>400, "error"=>{"type"=>"illegal_argument_exception", "reason"=>"invalid destination port [0]"}}}Distributed deployment. Current version is 2.3.220 |
Beta Was this translation helpful? Give feedback.
-
@giveen has there been any further interest in this? I'm also having this error. I know I can add a bpf but I would prefer to retain this data in case its useful to my analysts someday. |
Beta Was this translation helpful? Give feedback.
-
Would you check Zeek pipelines to see where it is failing? Looks like |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to figure out where this is coming from. From what I can tell its not seeing zero as a integer and so it becomes a invalid source port.
Beta Was this translation helpful? Give feedback.
All reactions