Filebeat log filename when using recursive *.log filter


(Jake D Evans) #1

I was wondering if there is a way to log the source filename of each file filebeat collects logs from without manually specifying fields for each file individually.

Thank You
-Jake


(Andrew Kroh) #2

This information is reported in the source field.


(Jake D Evans) #3

Must be an issue with my grok filter or gelf template, I'm getting source as the hostname of the box. Thanks!


(system) #4