Open goku222 opened 5 years ago
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?
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).