Can Filebeat creating multiple logging files

Hi Team,

I am currently using Filebeat 7.6.2. could like to monitor the filebeat logging logs and want to write if any error during filebeat process then error logs need to writes in separate log file ex. [filebeat_error.log]. is there any possibility, can filebeat write multiple logging files ex [info should be in filebeat_info.log & error should be in filebeat_error.log] can you please help on this.

I think you're referring this sample: https://www.elastic.co/guide/en/beats/filebeat/current/elasticsearch-output.html#indices-option-es

(see output.elasticsearch)

The above one is sending error logs to elastic search/logstash etc. but we want to write filebeat's logs [ERROR] in different file. means whether filebeat able to write it's log message based on level [ ex filebeat_info.log, filebeat_error.log, filebeat_warn.log] ,

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.