elastic / elastic/elastic-agent
Allow to control Beats logging
Open
- Dominant language
- Go
- Stars
- 275
- Forks
- 264
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 298
Description
Beats logging configuration is quite flexible, but currently the Elastic-Agent does not allow for a detailed configuration of it. If the logs are too verbose when running `elastic-agent diagnostics collect` the time window of the logs can be very small and the logs might be flooded with messages from selectors that are not needed.
Here is Filebeat logging configuration:
https://github.com/elastic/beats/blob/9e0ce3b26a762f0e0ac246654797624bfaab8cc9/filebeat/filebeat.reference.yml#L2478-L2546
It would be nice to be able to at least set:
* logging.selectors
* logging.files.rotateeverybytes
* logging.files.keepfiles
Contributor guide
Assessment
This issue has not been assessed yet.