How to collect different logs from same client?

Hi everyone,

i’ve setup my graylog server and I can send the logs from client A to graylog server via filebeat and collect with Sidecar. How can I send for example this logs from client A via filebeat and collect via Sidecar :

/var/log/first/A.log

/var/log/second/A.log

The above 2 A.log are different logs but come from same client A.

I can assign on Collector Admin page only One config to Filebeat collector. Is there any way can I collect above logs ?

If I use * in filebeat config =>

filebeat.inputs:

- input_type: log

paths:

-/var/log/*/A.log

Then I will receive all logs, but I will collect it in different collector.

Does that work? It should.

You can also specify multiple paths.

i’m using Streams and send each log to it and it works now. Case closed!

Graylog is cool :wink:

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