Graylog-collector-sidecar failing


(Yue Xx) #1

I am trying to install collector sidecar and try to install the filebeat following this http://docs.graylog.org/en/2.2/pages/collector_sidecar.html#graylog-collector-sidecar set-up.

But under system/collectors from the graylog web-interface, I could see that the status of graylog-collector-sidecar is failing.

When I click it, I found:
Status: No configuration found for configured tags!

So I checked there’s indeed no filebeat configuration file and the log from sidecar is like this:
time=“2017-06-20T20:00:56-04:00” level=error msg="[RequestConfiguration] Fetching configuration failed: Get http://10.10.10.122:9000/api/plugins/org.graylog.plugins.collector/33bbd$
time=“2017-06-20T20:00:56-04:00” level=error msg="[UpdateRegistration] Failed to report collector status to server: Put http://10.10.10.122:9000/api/plugins/org.graylog.plugins.col$

So this is my sidecar configuration file:

server_url: http://10.10.60.122:9000/api/
update_interval: 10
tls_skip_verify: true
send_status: true
list_log_files:
node_id: graylog-collector-sidecar
collector_id: file:/etc/graylog/collector-sidecar/collector-id
cache_path: /var/cache/graylog/collector-sidecar
log_path: /var/log/graylog/collector-sidecar
log_rotation_time: 86400
log_max_age: 604800
tags:
- linux
- apache
backends:
- name: nxlog
enabled: false
binary_path: /usr/bin/nxlog
configuration_path: /etc/graylog/collector-sidecar/generated/nxlog.conf
- name: filebeat
enabled: true
binary_path: /usr/bin/filebeat
configuration_path: /etc/graylog/collector-sidecar/generated/filebeat.yml

Graylog Version:
graylog2
Elasticsearch Version:
2.4.5
MongoDB Version:
3.2.14
Operating System:
centos 7
Browser version:
chrome
Any help is appreciated !!


(Yue Xx) #2

I figured out myself, I didn’t set the tag correctly


(system) #3

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