Hi, i had the same probleme. You can start the collector with " service collector-sidecar start" . Don't use "graylog-collector-sidecar -c /etc/graylog/collector-sidecar/collector_sidecar.yml" there is no need since your collector is already started. You are using the tag test in your config file however he's looking for daisy tag. Check out your tags in Manage configuration in graylog web interface make sure it is test. For centos7, in Manage configuration -> Linux ->Define snippet-> nxlog default Moduledir /usr/libexec/nxlog/modules /usr/lib/nxlog/modules doesn't exist
Le mardi 7 juin 2016 11:02:24 UTC+2, Joshua Humpich a écrit : > > Hi folks, > I'm trying to get these collector-sidecar running on my linux. > Did the installation of nxlog and the collector-sidecar.rpm file. > My graylog server is running on another machine. > First of all the error message when runnning the collector-sidecar binary > with the conf file > > graylog-collector-sidecar -c > /etc/graylog/collector-sidecar/collector_sidecar.yml > > INFO[0000] Using collector-id: 72a5ed2b-f5ae-46dc-88e9-a1029f57c545 > INFO[0000] Fetching configurations tagged by: [daisy] > INFO[0000] Starting collector supervisor > INFO[0000] [nxlog] Starting > ERRO[0000] [nxlog] Collector exits immediately, this should not happen! > Please check your collector configuration! > ERRO[0019] [UpdateRegistration] Failed to report collector status to > server: invalid character '<' looking for beginning of value > ERRO[0039] [RequestConfiguration] Bad response status from Graylog server: > 504 Gateway Time-out > > > Now the conf file (pls notice the server_url section there is a normal ip > address and no <> stuff considering the error message ;-)) > > server_url: http://<my-graylog-server-ip>:12900 > tls_skip_verify: true > node_id: graylog-collector-sidecar > collector_id: file:/etc/graylog/collector-sidecar/collector-id > tags: > - test > log_path: /var/log/graylog/collector-sidecar > update_interval: 10 > backends: > - name: nxlog > enabled: true > binary_path: /usr/bin/nxlog > configuration_path: > /etc/graylog/collector-sidecar/generated/nxlog.conf > > > The collector-sidecar did not fetch any config from the graylog server so > the generated dir is empty. > > Does anybody faces the same problem? > > > Regards, > Josh > -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/768518e5-9fb2-4b0d-ac34-c8441012b004%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
