Want to add multiple log files as a input in filebeat.yml and send to logstash

Hi All,

My filebeat.yml file input is:

filebeat.inputs:

  • type: log
    enabled: true
    paths:
    • /home/XXXX/XYZ/abc.send.2*
    • /home/XXXX/XYZ/abc_xyz.target*
    • /home/XXXX/XYZ/abc.sender.6*
    • /home/XXXX/XYZ/abc.log*

fields:
log_type: logs

  • type: log
    enabled: true
    paths:
    • /home/XXXX/XYZ/abcd.log*
    • /home/XXXX/XYZ/abcd.log.001*
    • /home/XXXX/XYZ/abcd.log.002*
      fields:
      log_type: abcd_type

I want to send logs from all this files to logstash. Logstash is working and giving me output but on kibana dashboard, all logs are not reflecting.

Thank you all.

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