How can I collecotr the below path logs by one input rule?
file1: /app/logs/users/.log
file2: /app/logs/depts/.log
I try to set the path to “[’/app/logs/*’]” ,but collector does not works,
any way to collector “file1+file2” path by one regular expression?
tmacgbay
(Tmacgbay)
2
Which version of Graylog are you on? Which collector are you using? can you post your current collector code (in proper formatting)?
THX,problem is resolved,
Graylog Version:2.4.3
Collector is filebeat
jan
(Jan Doberstein)
4
sharing is caring …
others could learn from you, please share your solution!
1 Like
solutions is that i set the logpath to [‘/app/logs/**’]
1 Like
system
(system)
Closed
6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.