Graylog backend not starting


(EL HIJAZI) #1

good morning i’m facing a lot of issues of the ‘collector sidecar’
well now i m instaling
collector-sidecar_0.1.4-1_i386.deb

my config file :

ub1632@ubuntu:~$ cat /etc/graylog/collector-sidecar/collector_sidecar.yml
server_url: http://192.168.111.132:9000/api/
update_interval: 30
tls_skip_verify: true
send_status: true
list_log_files:
- /var/log
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

the result of
systemctl status collector-sidecar

ub1632@ubuntu:~$ systemctl status collector-sidecar
● collector-sidecar.service - Wrapper service for Graylog controlled collector
Loaded: loaded (/etc/systemd/system/collector-sidecar.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) since Wed 2018-03-28 00:57:08 PDT; 22s ago
Process: 1835 ExecStart=/usr/bin/graylog-collector-sidecar (code=exited, status=0/SUCCESS)
Main PID: 1835 (code=exited, status=0/SUCCESS)
the erreur in log file :
time=“2018-03-27T07:07:17-07:00” level=error msg="[UpdateRegistration] Failed to report collector status to server: Put http://127.0.0.1:9000/api/plugins/org.graylog.plugins.collector/collectors/68627057-36d5-479a-b32e-f3bc68cc6781: dial tcp 127.0.0.1:9000: getsockopt: connection refused"
time=“2018-03-27T07:07:27-07:00” level=error msg="[RequestConfiguration] Fetching configuration failed: Get http://127.0.0.1:9000/api/plugins/org.graylog.plugins.collector/68627057-36d5-479a-b32e-f3bc68cc6781?tags=[“linux”%2C"apache"]: dial tcp 127.0.0.1:9000: getsockopt: connection refused"
time=“2018-03-27T07:07:27-07:00” level=error msg="[UpdateRegistration] Failed to report collector status to server: Put http://127.0.0.1:9000/api/plugins/org.graylog.plugins.collector/collectors/68627057-36d5-479a-b32e-f3bc68cc6781: dial tcp 127.0.0.1:9000: getsockopt: connection refused"
time=“2018-03-27T07:07:31-07:00” level=info msg=“Stopping signal distributor”

thank you for your help !


(Jochen) #2

A post was merged into an existing topic: Collector side car using filebeat


(Jochen) #3