Sidecar not receiving messages

I have graylog installed and getting rsyslog messages ok, but i wanted to add httpd logs, so installed the sidecar on the remote system along with filebeat.
Graylog tells me the sidecar is running, but when i click “show messages” there is nothing.

I’m a bit stumped now, connectivity seems ok (i think), graylog seems to be running as it should, I have disabled tls all round, not sure what to check next.

my sidecar config: (aiming to get all logs under /var/log/httpd) ( is my graylog server)

# Needed for Graylog
fields_under_root: true
fields.collector_node_id: ${sidecar.nodeName}
fields.gl2_source_collector: ${sidecar.nodeId}

- input_type: log
    - /var/log/httpd
  type: log
   hosts: [""]
  data: /var/lib/graylog-sidecar/collectors/filebeat/data
  logs: /var/lib/graylog-sidecar/collectors/filebeat/log

if i go to ‘sidecars’ and click the ‘name’ i see a list of logs i would like sent, but just can’t work out why they are not being sent. any help getting them would be greatly appreciated.

Typically after ages of trying to get this working i found the error 2 minutes after posting the question…

in case it helps anyone else, wht i needed to do there was change the path from:

- /var/log/httpd


- “/var/log/httpd/*”

I hope it helps someone.

1 Like

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