I'm using the universal forwarder, assume i have following log files:
bar-20170728.log
andbar-20170728-foo.log
How would i setup inputs.conf to differ between the above logs.
Thats because i want to give them a different index and sourcetype.
Thx
[monitor:///path/bar-*.log]
disabled=false
index=a
sourcetype=a
whitelist=bar\-\d+\.log$
[monitor:///path/bar-*.log]
disabled=false
index=b
sourcetype=b
whitelist=bar\-\d+\-foo\.log$
Thank you