Hi Sam,
make sure that there is not packet filter or firewall blocking access to
the host 162.20.100.27 on port 12201/tcp and that packets to 162.20.100.27
can be routed correctly by the machine running Graylog Collector.
Cheers,
Jochen
On Tuesday, 16 August 2016 06:59:30 UTC+2, sam wrote:
>
> Hi All,
>
> I installed graylog collector 0.5.0 version in client machine to send logs
> to my graylog server (2.0) version. When I start collector I see below
> errors. CAn anyone let me know where am I going wrong please.. !
>
>
> 2016-08-16T00:51:04.579-0400 INFO [main] cli.commands.Run - Service
> RUNNING: BufferProcessor [RUNNING]
> 2016-08-16T00:51:04.579-0400 INFO [main] cli.commands.Run - Service
> RUNNING: FileObserver [RUNNING]
> 2016-08-16T00:51:04.579-0400 INFO [main] cli.commands.Run - Service
> RUNNING: MemoryReporterService [RUNNING]
> 2016-08-16T00:51:04.579-0400 INFO [main] cli.commands.Run - Service
> RUNNING: MetricService [RUNNING]
> 2016-08-16T00:51:04.580-0400 INFO [main] cli.commands.Run - Service
> RUNNING: StdoutOutput{inputs='', id='console'}
> 2016-08-16T00:51:04.580-0400 INFO [main] cli.commands.Run - Service
> RUNNING: HeartbeatService [RUNNING]
> 2016-08-16T00:51:04.581-0400 INFO [main] cli.commands.Run - Service
> RUNNING: GelfOutput{client-send-buffer-size='-1', port='12201', inputs='',
> host='162.20.100.27', client-reconnect-delay='1000',
> client-tcp-no-delay='true', id='graylog-server', client-queue-size='512',
> client-connect-timeout='5000'}
> 2016-08-16T00:51:04.582-0400 INFO [main] cli.commands.Run - Service
> RUNNING: FileInput{outputs='', content-splitter='NEWLINE', charset='UTF-8',
> message-fields='MessageFields{}', reader-buffer-size='102400',
> reader-interval='100', id='syslog',
> path-set='SinglePathSet{path=/var/log/jenkins/jenkins.log}'}
> 2016-08-16T00:51:09.557-0400 ERROR [gelfTcpTransport-1-1]
> gelfclient.transport.GelfTcpTransport - Connection failed: connection timed
> out: /162.20.100.27:12201
> 2016-08-16T00:51:15.562-0400 ERROR [gelfTcpTransport-1-1]
> gelfclient.transport.GelfTcpTransport - Connection failed: connection timed
> out: /162.20.100.27:12201
> 2016-08-16T00:51:19.310-0400 WARN [HeartbeatService RUNNING]
> collector.heartbeat.HeartbeatService - Unable to send heartbeat to Graylog
> server: SocketTimeoutException: connect timed out
> 2016-08-16T00:51:21.568-0400 ERROR [gelfTcpTransport-1-1]
> gelfclient.transport.GelfTcpTransport - Connection failed: connection timed
> out: /162.20.100.27:12201
>
>
> My collector.conf file:
>
> server-url = "http://162.20.100.27:12900/"
>
> collector-id = "file:/etc/graylog/collector/collector-id"
>
> inputs {
> syslog {
> type = "file"
> path = "/var/log/jenkins/jenkins.log"
> }
> }
>
> outputs {
> graylog-server {
> type = "gelf"
> host = "162.20.100.27"
> port = 12201
> }
>
> // Prints all messages to STDOUT. Useful for debugging. Do not enable in
> production usage!
> console {
> type = "stdout"
> }
> }
> ~
>
>
> Graylog server GELF TCP :
>
>
>
> - bind_address:
> 0.0.0.0
> - max_message_size:
> 2097152
> - override_source:
> *<empty>*
> - port:
> 12201
> - recv_buffer_size:
> 1048576
> - tcp_keepalive:
> false
> - tls_cert_file:
> *<empty>*
> - tls_client_auth:
> disabled
> - tls_client_auth_cert_file:
> *<empty>*
> - tls_enable:
> false
> - tls_key_file:
> admin
> - tls_key_password:
> ********
> - use_null_delimiter:
> true
>
>
> Thank you
>
>
--
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/f048763b-51d4-4e71-9aff-2b811c1074b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.