-
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 crash with "panic: runtime error: invalid memory address or nil pointer dereference" #20499
Comments
Pinging @elastic/integrations-services (Team:Services) |
Hey we are facing the exact same issue due to the convert processor, filebeats version 7.4.0, happy to share further details if this will be addressed |
@rev0lt did you have a chance to try a most recent version of filebeat like a 7.17.X? |
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
Hi @jlind23 i havent, is there a possible fix in those versions? This is a bit of effort for us but wouldnt mind doing this if it fixes the issue. |
@rev0lt I would always recommend to update, even if there is no fix for this particular behaviour you will benefit for a lot of other bugfixes. I will add it to our backlog in order to investigate to check if this is still occuring in further releases. |
Hi! We're labeling this issue as |
Under specific circumstances and configuration filebeat crashes with the following error:
This crash is occurring when:
convert
processor is configured atglobal
level (not at theinput
level), like:Info
field.Panw
andSystem
modules. Note the data related with these modules won't have thatInfo
field.The crash is not occurring when:
convert
processor is moved to the specific input / inputs sections that might require them (which I would say it's the good practice here).Info
field. Then it doesn't matter ifconvert
is configured at global level.We suspect the problem could be related with a race condition because when Filebeat is not under high input pressure the problem doesn't occur either, only when we provide a lot of data to Filebeat via big input files, then Filebeat crashes.
Issue has been reproduced with RHEL 7.8 and Windows Server 2016 with Filebeat 7.4.0 and 7.6.1.
Still not clear the root cause, apparently it's not related with a broken / invalid JSON.
I suspect more that maybe the convert processor is applied towards a memory structure that doesn't have the
Info
field, or a memory structure that is totally missing).I'm reporting this after a conversation with @sayden
The text was updated successfully, but these errors were encountered: