elastic / elastic/elastic-agent

Allow to control Beats logging

Open
#749 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.