Thanks all ,

Now i am getting all logs.
Thanks one again.


On Friday, 16 September 2016 16:04:35 UTC+5:30, Marius Sturm wrote:
>
> Looks like you didn't setup any inputs or outputs for nxlog. Go to 
> System->Collectors->Manage Configurations in the Graylog web UI and create 
> a complete configuration.
>
> Cheers,
> Marius 
>
> On 16 September 2016 at 10:38, Jochen Schalanda <[email protected] 
> <javascript:>> wrote:
>
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/graylog2/672749b0-5523-477d-bd52-87d4dfa91ffe%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/graylog2/672749b0-5523-477d-bd52-87d4dfa91ffe%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Developer
>
> Tel.: +49 (0)40 609 452 077
> Fax.: +49 (0)40 609 452 078
>
> TORCH GmbH - A Graylog Company
> Poolstraße 21
> 20335 Hamburg
> Germany
>
> https://www.graylog.com <https://www.torch.sh/>
>
> Commercial Reg. (Registergericht): Amtsgericht Hamburg, HRB 125175
> Geschäftsführer: Lennart Koopmann (CEO)
>

-- 
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/09a04849-ea99-4777-9e4d-ca39c9b1d58e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to