/etc/graylog/collector-sidecar/generated/nxlog.conf So this file does not exist? I had a similar problem in Windows. Just put an empty file there with that name and it won't fail the file check. After it gets beyond that, it should write the config to the conf file.
On Tuesday, 7 June 2016 02:02:24 UTC-7, Joshua Humpich wrote: > > 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/f145b94b-4ba2-4332-9595-ae4441a22cf8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
