-
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] Netflow data indexing failures after upgrading to 8.13 #38703
Comments
Pinging @elastic/sec-deployment-and-devices (Team:Security-Deployment and Devices) |
Can you please enable debug logging so that you can see the raw event and Elasticsearch error message. Then can you share that with us (mask any sensitive details) it will help figure out the cause of the rejection. |
Hello @etigervaise 👋 with a really quick look maybe the event normalisation that we deem as safe to disable affects the data produced by the generator, or it can be something else. If you are able to provide what @andrewkroh mentions above it will help us a lot in finding the actual issue 🙂 |
Is this what you need:
|
It does appear to be related to the removal of the event normalization. Until we release a fix please use 8.12. Options for fixing would be
I wanted to understand how we missed this in all of our tests. Here are few areas where I think we can improve:
|
At least for 3 I kind of slightly disagree as the whole doc can be easily extracted with following steps:
Output format is kind of
I used |
@111andre111 Extracting the information is not the problem. The problem is that the information is not sufficient in some cases to debug the reason the message failed to index in ES. Yes, you can extract a document from that message with some CLI magic, but it is not the same content that was sent to Elasticsearch. Take #38703 (comment) as an example, it contains:
but if you were to observe the JSON that was sent to Elasticsearch in the
|
Ah, I see, you mean the array kind of things. Got you. That makes sense. Thanks for pointing that out. |
Hello, I'm trying to understand how to fix this thing, and i dont know where to start. I've setup a basic developper environment and trying to understand how to register an encoder for net.ip, since it seems to be the most promising solution for me. Does it have to be a new codec, which i will develop into this file. and then add into the enc.go at the given line ? Is there any reference i should look at before starting? Thanks |
Closing this for now. @pkoutsovasilis will create a follow-up issue for further automated testing steps. |
Please post all questions and issues on https://discuss.elastic.co/c/beats
before opening a Github Issue. Your questions will reach a wider audience there,
and if we confirm that there is a bug, then you can open a new issue.
For security vulnerabilities please only send reports to [email protected].
See https://www.elastic.co/community/security for more information.
Please include configurations and logs if available.
For confirmed bugs, please report:
1 - Install Elasticsearch.
2 - Install and configure kibana.
3 - Install and configure filebeat to accept netflow. In my case, i've used this configuration:
4 - Send netflow to filebeat. For debugging, I have used the following project: https://github.com/nerdalert/nflow-generator/tree/master
5 - Notice the following warning:
Note that this is following the breaking change #37901
The text was updated successfully, but these errors were encountered: