elastic / elastic/elastic-agent
[Elastic-Agent] [Docker] Discuss: accessing logs from different container
- Dominant language
- Go
- Stars
- 275
- Forks
- 264
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 298
Description
I'd like to ask for your recommendation for users that prefer to run Elastic Agent in the container (let's say due to security reasons).
Let's discuss the scenario:
The integrated product is nginx running in a container. It produces logs stored locally in the image and which are rotated. As the agent is running in a different container, it can't simply access produced logs.
What is your recommendation in this particular case? Should the user expose somehow log files? Mirror them?
Background -
I had an interesting talk with @ycombinator about possibilites and testing scenarios and it looks that we will both have to nail this problem (force agent to watch logs produced in a different container).
Contributor guide
Assessment
This issue has not been assessed yet.