Skip to content
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

Which filebeat input can read from specific file inside the pod? #37909

Open
harbhajan2006 opened this issue Feb 7, 2024 · 2 comments
Open
Labels
needs_team Indicates that the issue/PR needs a Team:* label Stalled

Comments

@harbhajan2006
Copy link

I am using elastic+filebeat+kibana.

  1. I understand that logs generated by pod goes to /var/log/container directory of the node by k8s and filebeat read this location.
  2. However, my requirement is that my application is not writing log to stdout and it is writing log to a file, for example /opt/test/mylog.log inside my pod. Hence kubernetes is not sending these file to nodes->/var/log/containers
  3. How can I tell filebeat to read log files from a specific location inside my pod?

Thanks

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Feb 7, 2024
@botelastic
Copy link

botelastic bot commented Feb 7, 2024

This issue doesn't have a Team:<team> label.

@botelastic
Copy link

botelastic bot commented Feb 6, 2025

Hi!
We just realized that we haven't looked into this issue in a while. We're sorry!

We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1.
Thank you for your contribution!

@botelastic botelastic bot added the Stalled label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs_team Indicates that the issue/PR needs a Team:* label Stalled
Projects
None yet
Development

No branches or pull requests

1 participant