Sending metrics from a log to his respective logstash configuration

Hi, I have a log with mixed metrics: cpu, filesystem, ping, uptime, etc...How can I direct each metric from Filebeat to his respective configuration in logstash?

I also can use powershell to separate the metrics in his respective log file, same question as the above?

Thanks!

filebeat.inputs:

- type: log
  enabled: true
  paths:
    - E:\uptime\*
  fields:
    metric: "uptime"

- type: log
  enabled: true
  paths:
    - E:\cpu\*
  fields:
    metric: "cpu"

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