-
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
Metricbeat json parser fails to get Docker images #4483
Comments
@sadok-f Thanks for the bug report. I think there is an error in the template file that we generate. We have:
As a workaround, you can try to manually edit the |
This were introduced in elastic#3515, but I think they cause issues like the one in elastic#4483, at least in recent versions of ES. We already removed these in master, but I didn't realize the 5.x branches are affected. Fixes elastic#4483.
@tsg Thank you for your response, I did remove the block and restart metribeat, but I still see the warning in the logs: |
Hi @sadok-f, could you please dump the result of: |
Here:
We're using Artifactory as Docker registry |
@sadok-f Note that you have to delete the existing template (or set |
@sadok-f I could reproduce the error on my computer and workaround it by following these steps:
A proper fix was merged already in #4488, so I'm closing this for now. Thanks a lot for reporting and feel free to reopen if you still think there's another issue. |
@tsg Many thanks ! |
This were introduced in elastic#3515, but I think they cause issues like the one in elastic#4483, at least in recent versions of ES. We already removed these in master, but I didn't realize the 5.x branches are affected. Fixes elastic#4483. (cherry picked from commit a373306)
…iles (#4498) * Remove empty properties from the template files This were introduced in #3515, but I think they cause issues like the one in #4483, at least in recent versions of ES. We already removed these in master, but I didn't realize the 5.x branches are affected. Fixes #4483. (cherry picked from commit a373306) * update testing env
…plate files (elastic#4498) * Remove empty properties from the template files This were introduced in elastic#3515, but I think they cause issues like the one in elastic#4483, at least in recent versions of ES. We already removed these in master, but I didn't realize the 5.x branches are affected. Fixes elastic#4483. (cherry picked from commit d9fc986) * update testing env
Hello,
I installed Metricbeat in Ubuntu server and it sends all metrics to Eleasticsearch, however when I added docker module to see information about running containers and images, it works fine but I don't get any information about images, I checked metricbeat logs, it throws those messages:
2017-06-09T12:13:58+02:00 WARN Can not index event (status=400): {"type":"mapper_parsing_exception","reason":"object mapping for [docker.image.tags] tried to parse field [null] as object, but found a concrete value"}
The text was updated successfully, but these errors were encountered: