-
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
Unable to ingest json logs using elasticsearch filebeat module #29880
Comments
Pinging @elastic/stack-monitoring (Stack monitoring) |
Pinging @elastic/integrations (Team:Integrations) |
took a guess that elasticsearch filebeat module is an integration, so integrations team? Please relabel if I got it wrong 🧡 |
Looks like the events are dropped by this ingest pipeline processor since events in 8.x don't have the |
I tried it on 8acaed9 today and got a different error:
I'll try again with 07c2db4 from yesterday. |
Weird, got that same error on both versions even after wiping ES data. Not sure what's up, but I did manage to get some logs flowing by manipulating Here's what I ended up with.
|
Here's a few sample logs from my setup here (master)
The structure is definitely a bit different than https://github.com/elastic/beats/blob/master/filebeat/module/elasticsearch/server/test/elasticsearch-json.800.log-expected.json so seems like the ES log structure has shifted a bit and the ingest pipeline is no longer compatible. |
I tried this with the 8.0.0-rc2 artifacts today (https://staging.elastic.co/8.0.0-rc2-c0b0e70d/summary-8.0.0-rc2.html) and got this error:
Looks like difficulty parsing the GC logs as well. Will comment again after checking the es server logs. Here's the filebeat config I used
|
Hm... I can't seem to get 7.16.3 to ingest the json logs either, at least agains the 8.0.0-rc2 stack. Will retry on a full 7.16.3 stack to see if maybe I'm just configuring something incorrectly. |
Thanks for bringing this home @klacabane and @ph ! I did a test today gsheet and file ingest is looking good as far as just basic manual tests go. |
Rel: elastic/kibana#120825
I’m trying to use filebeat (master,
mage build
) to collect ES logs (master,./gradlew localDistro
) for use in stack monitoring. Here’s the config.It seems like it’s only able to output the
logs/*.log
files not thelogs/*_server.json
so I’m getting only plaintext documents which lack a cluster ID.If I use this config:
I get documents in the output:
But if I switch the output to
No indices appear in the output cluster.
The text was updated successfully, but these errors were encountered: