Hi Jochen,

I copy the file line copying missing. I found the problem. I realized that
I have two server-url. :( . Sorry for my fault. Thank you for your kindly
attention


2016-05-10 15:24 GMT+03:00 Jochen Schalanda <[email protected]>:

> Hi Hasan,
>
> I think you're missing the server-url setting (
> https://github.com/Graylog2/collector/blob/0.4.2/config/collector.conf.example#L3-L4)
> in your Graylog Collector configuration file.
>
> Cheers,
> Jochen
>
> On Tuesday, 10 May 2016 13:30:18 UTC+2, hasan akgöz wrote:
>>
>> Hi Jochen
>>
>> My graylog-server version is 1.3.4-1 and collector version is 0.4.2-1.
>>
>> my collector config. It is as follows.
>>
>> collector-id = "file:/etc/graylog/collector/collector-id"
>>
>> inputs {
>>   local-syslog {
>>     type = "file"
>>     path = "/var/log/syslog"
>>     charset = "utf-8"
>>     content-splitter = "newline"
>>   }
>> }
>> outputs {
>>     gelf-tcp {
>>     type = "gelf"
>>     host = "192.168.0.12"
>>     port = 12345
>>   }
>> }
>>
>>
>> 2016-05-10 14:23 GMT+03:00 Jochen Schalanda:
>>
>>> Hi Hasan,
>>>
>>> please post the configuration of your Graylog Collector and tell us,
>>> which exact versions of Graylog and of the Graylog Collector you're using.
>>>
>>> Cheers,
>>> Jochen
>>>
>>>
>>> On Tuesday, 10 May 2016 12:32:29 UTC+2, hasan akgöz wrote:
>>>>
>>>> Hi Guys,
>>>>
>>>> Before running the graylog collector today gives the following error
>>>> and does not send log :(. How can I solve this problem ?. Graylog server
>>>> and the rest api is working properly.
>>>>
>>>>
>>>> *curl -i --user admin:password -H 'Accept: application/json'
>>>> http://192.168.0.12:12900/system/cluster/node?pretty=true
>>>> <http://192.168.0.12:12900/system/cluster/node?pretty=true>*
>>>>
>>>> HTTP/1.1 200 OK
>>>> Content-Type: application/json
>>>> X-Graylog-Node-ID: 98ac87af-a0f3-46ed-abce-af883260915d
>>>> X-Runtime-Microseconds: 573
>>>> Transfer-Encoding: chunked
>>>>
>>>> {
>>>>   "cluster_id" : "5293c898-d88f-4923-950f-d440edc4f612",
>>>>   "node_id" : "98ac87af-a0f3-46ed-abce-af883260915d",
>>>>   "type" : "server",
>>>>   "transport_address" : "http://192.168.0.12:12900/";,
>>>>   "last_seen" : "2016-05-10T10:28:54.000Z",
>>>>   "short_node_id" : "98ac87af",
>>>>   "is_master" : true
>>>>
>>>>
>>>>
>>>>
>>>> 2016-05-10T13:27:12.935+0300 WARN  [HeartbeatService RUNNING]
>>>> collector.heartbeat.HeartbeatService - Unable to send heartbeat to Graylog
>>>> server: ConnectException: Connection refused
>>>> 2016-05-10T13:27:17.935+0300 WARN  [HeartbeatService RUNNING]
>>>> collector.heartbeat.HeartbeatService - Unable to send heartbeat to Graylog
>>>> server: ConnectException: Connection refused
>>>> 2016-05-10T13:27:22.935+0300 WARN  [HeartbeatService RUNNING]
>>>> collector.heartbeat.HeartbeatService - Unable to send heartbeat to Graylog
>>>> server: ConnectException: Connection refused
>>>> 2016-05-10T13:27:27.935+0300 WARN  [HeartbeatService RUNNING]
>>>> collector.heartbeat.HeartbeatService - Unable to send heartbeat to Graylog
>>>> server: ConnectException: Connection refused
>>>> 2016-05-10T13:27:32.934+0300 WARN  [HeartbeatService RUNNING]
>>>> collector.heartbeat.HeartbeatService - Unable to send heartbeat to Graylog
>>>> server: ConnectException: Connection refused
>>>> 2016-05-10T13:27:37.935+0300 WARN  [HeartbeatService RUNNING]
>>>> collector.heartbeat.HeartbeatService - Unable to send heartbeat to Graylog
>>>> server: ConnectException: Connection refused
>>>> 2016-05-10T13:27:42.934+0300 WARN  [HeartbeatService RUNNING]
>>>> collector.heartbeat.HeartbeatService - Unable to send heartbeat to Graylog
>>>> server: ConnectException: Connection refused
>>>> 2016-05-10T13:27:47.934+0300 WARN  [HeartbeatService RUNNING]
>>>> collector.heartbeat.HeartbeatService - Unable to send heartbeat to Graylog
>>>> server: ConnectException: Connection refused
>>>> 2016-05-10T13:27:52.935+0300 WARN  [HeartbeatService RUNNING]
>>>> collector.heartbeat.HeartbeatService - Unable to send heartbeat to Graylog
>>>> server: ConnectException: Connection refused
>>>> 2016-05-10T13:27:57.934+0300 WARN  [HeartbeatService RUNNING]
>>>> collector.heartbeat.HeartbeatService - Unable to send heartbeat to Graylog
>>>> server: ConnectException: Connection refused
>>>> 2016-05-10T13:28:02.934+0300 WARN  [HeartbeatService RUNNING]
>>>> collector.heartbeat.HeartbeatService - Unable to send heartbeat to Graylog
>>>> server: ConnectException: Connection refused
>>>> 2016-05-10T13:28:07.934+0300 WARN  [HeartbeatService RUNNING]
>>>> collector.heartbeat.HeartbeatService - Unable to send heartbeat to Graylog
>>>> server: ConnectException: Connection refused
>>>>
>>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Graylog Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/graylog2/comoC3Pn7TQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/graylog2/92c85adb-68d5-4741-837b-cbae621b17a2%40googlegroups.com
> <https://groups.google.com/d/msgid/graylog2/92c85adb-68d5-4741-837b-cbae621b17a2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
//selametle

Hasan AKGÖZ

http://www.hasanakgoz.com

-- 
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/CA%2BTxN5H9uTDhY0fo0%3D0BqJVNJXoJ20f2Y4mgQ6QxsmDWaDzdBQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to