Dynamic name in the path of filebeat


(Aditya Srivastava) #1

I wanted to give dynamic name in the path section of filebeat ex.
paths:
- /var/log/ABC/{hostname}/*.log

can the hostname field be dynamic???


(ruflin) #2

You should be able to use /var/log/*/*.log


(system) #3

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