-
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
Update Filebeat Kubernetes manifests to use docker
prospector
#5934
Comments
I can take it, but first problem that I noticed is that even though you configure
should we drop this requirement? |
Uhm, that should not happen when |
Using this config map file:
produces error:
what is important to note is that if I provide invalid but non empty "paths" config option then filebeat DOES NOT WORK as harvester is not tailing any log files. Seem that docker prospector doesn't properly configure harvester basing on it's own paths to follow.
Running now with proper path:
makes filebeat+docker prospector happy and my logs are streamed, with log events in "message" field. |
let's fix that and I'll update default manifest |
There is a typo there, |
Oh (facepalm) - works fine when I fixed the typo. Anyway, there is definitely a UX problem here ;-) This should either complain about lack of Edit: documentation says that |
Agree with the UX issue, we have some ideas to fix that globally but nothing in place yet :), let me know if it works with the corrected field |
It does work, gonna make PR later to change sample manifests. |
btw, I think |
You are correct, this was fixed with 6.1 too |
…#5920 (elastic#5963) New docker prospector properly sends log entries in message field (see elastic#5920). Remove unused POD_NAMESPACE env var from filebeat manifest. (cherry picked from commit 241aa3c)
…ixes elastic#5934 and elastic#5920 (elastic#5976) * Use docker prospector in K8S examples, fixes elastic#5934 and elastic#5920 (elastic#5963) New docker prospector properly sends log entries in message field (see elastic#5920). Remove unused POD_NAMESPACE env var from filebeat manifest. (cherry picked from commit d066553) * Update NOTICE.txt
#5402 was released already, we should update Kubernetes manifests to take benefit from it.
This also fixes #5920
The text was updated successfully, but these errors were encountered: