Hi Surajit,

please share the contents of 
/etc/graylog/collector-sidecar/generated/nxlog.conf and the configuration 
for the collector you've created in Graylog.

Cheers,
Jochen

On Friday, 16 September 2016 07:54:21 UTC+2, Surajit Roy wrote:
>
>  /etc/graylog/collector-sidecar/collector_sidecar.yml configuretiaon is 
> below. 
>
> server_url: http://10.0.3.211: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
> log_path: /var/log/graylog/collector-sidecar
> log_rotation_time: 86400
> log_max_age: 604800
> tags:
>     - linux
>     - apache
> backends:
>     - name: nxlog
>       enabled: true
>       binary_path: /usr/bin/nxlog
>       configuration_path: 
> /etc/graylog/collector-sidecar/generated/nxlog.conf
> ~
>
>
>
> Below the nxlog .
>
> tailf /var/log/graylog/collector-sidecar/nxlog.log
> 2016-09-16 05:26:16 INFO nxlog-ce-2.9.1716 started
> 2016-09-16 05:27:25 WARNING no routes defined!
> 2016-09-16 05:27:25 INFO configuration OK
> 2016-09-16 05:27:25 INFO reloading configuration and restarting modules
> 2016-09-16 05:27:25 WARNING no functional input modules!
> 2016-09-16 05:27:25 WARNING no routes defined!
> 2016-09-16 05:27:25 INFO configuration reloaded successfully.
> 2016-09-16 05:27:29 WARNING no functional input modules!
> 2016-09-16 05:27:29 WARNING no routes defined!
> 2016-09-16 05:27:29 INFO nxlog-ce-2.9.1716 started  
>
> root@ip-10-0-3-67:/home/ubuntu# graylog-collector-sidecar -c 
> /etc/graylog/collector-sidecar/collector_sidecar.yml
> INFO[0000] Using collector-id: 52703181-5745-47f3-9146-584ecb898383
> INFO[0000] Fetching configurations tagged by: [linux apache]
> 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[0000] [nxlog] Backend crashed, trying to restart 1/3
> INFO[0005] [nxlog] Starting
> ERRO[0005] [nxlog] Collector exits immediately, this should not happen! 
> Please check your collector configuration!
> ERRO[0005] [nxlog] Backend crashed, trying to restart 2/3
> INFO[0010] [nxlog] Starting
> ERRO[0010] [nxlog] Collector exits immediately, this should not happen! 
> Please check your collector configuration!
> ERRO[0010] [nxlog] Backend crashed, trying to restart 3/3
>
>
>
> Please suggest me where I did wrong .
>

-- 
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/672749b0-5523-477d-bd52-87d4dfa91ffe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to