canonical / canonical/layer-filebeat

logging_to_files

Open
#74 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.