Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logging_to_files #74

Open
goku222 opened this issue Aug 8, 2019 · 1 comment
Open

logging_to_files #74

goku222 opened this issue Aug 8, 2019 · 1 comment

Comments

@goku222
Copy link

goku222 commented Aug 8, 2019

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).

@kwmonroe
Copy link
Contributor

When logging_to_syslog is set to False, the charm will log to /var/log/filebeat/filebeat by default. Is this workaround good enough, or is this a request to expose more logging.x configuration in the templates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants