canonical / canonical/layer-filebeat
logging_to_files
- Dominant language
- Python
- Stars
- 2
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
There sould be an option to make filebeat write it's logs to file.
Like the logging_to_syslog configuration it's possible to add logging_to_files configuration (https://www.elastic.co/guide/en/beats/filebeat/current/configuration-logging.html#_literal_logging_to_files_literal).
It's also possible to add configuration for the log directory and name (logging.files.path and logging.files.name).
Contributor guide
Research direction
Start by finding the existing logging_to_syslog configuration and compare it with the Filebeat logging configuration documentation linked in the issue. Add equivalent file logging support, including logging.files.path and logging.files.name, and verify that the charm exposes these options as configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100