Extract information from Prospectors Path

Is it possible to extract information from Filebeat prospectors path?
Here is an example:
filebeat.prospectors:

  • input_type: log
    paths:
    • /log//test///.log

I wanted to extract the values of * from the paths and appends them as filebeat message meta informations.

This is currently not possible in filebeat, but you could extract such fields with logstash from the path field.

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