In fact i have config the BEAT INPUT and in collector i have alredy config the Configure Beats Outputs and Configure Beats inputs.
And when I run the “Graylog-collector-sidecar.exe” it seem nothing wrong
time="2017-11-23T17:31:19+08:00" level=info msg="Starting signal distributor" time="2017-11-23T17:31:19+08:00" level=info msg="[filebeat] Starting (exec driver)" time="2017-11-23T17:31:29+08:00" level=info msg="[filebeat] Configuration change detected, rewriting configuration file." time="2017-11-23T17:31:30+08:00" level=info msg="[filebeat] Stopping" time="2017-11-23T17:31:33+08:00" level=info msg="[filebeat] Starting (exec driver)"
However i didn’t get any message, so i check out the logs of Filebeat, and i find connect was refused
2017-11-23T17:31:34+08:00 INFO Home path: [C:\Program Files\graylog\collector-sidecar] Config path: [C:\Program Files\graylog\collector-sidecar] Data path: [C:\Program Files\graylog\collector-sidecar\cache\filebeat\data] Logs path: [C:\Program Files\graylog\collector-sidecar\logs] 2017-11-23T17:31:34+08:00 INFO Setup Beat: filebeat; Version: 5.5.1 2017-11-23T17:31:34+08:00 INFO Max Retries set to: 3 2017-11-23T17:31:34+08:00 INFO Activated logstash as output plugin. 2017-11-23T17:31:34+08:00 INFO Publisher name: PC-DUYUCONG 2017-11-23T17:31:34+08:00 INFO Flush Interval set to: 1s 2017-11-23T17:31:34+08:00 INFO Max Bulk Size set to: 2048 2017-11-23T17:31:34+08:00 ERR Not loading modules. Module directory not found: C:\Program Files\graylog\collector-sidecar\module 2017-11-23T17:31:34+08:00 INFO filebeat start running. 2017-11-23T17:31:34+08:00 INFO Registry file set to: C:\Program Files\graylog\collector-sidecar\cache\filebeat\data\registry 2017-11-23T17:31:34+08:00 INFO Loading registrar data from C:\Program Files\graylog\collector-sidecar\cache\filebeat\data\registry 2017-11-23T17:31:34+08:00 INFO States Loaded from registrar: 4 2017-11-23T17:31:34+08:00 INFO Loading Prospectors: 1 2017-11-23T17:31:34+08:00 INFO Start sending events to output 2017-11-23T17:31:34+08:00 INFO Starting Registrar 2017-11-23T17:31:34+08:00 INFO Starting spooler: spool_size: 2048; idle_timeout: 5s 2017-11-23T17:31:34+08:00 INFO Prospector with previous states loaded: 4 2017-11-23T17:31:34+08:00 INFO Starting prospector of type: log; id: 11968943014683501787 2017-11-23T17:31:34+08:00 INFO Loading and starting Prospectors completed. Enabled prospectors: 1 2017-11-23T17:31:44+08:00 INFO Harvester started for file: D:\Program Files (x86)\iVMS8600-TOCC\log\cms\info.log 2017-11-23T17:31:44+08:00 INFO Harvester started for file: D:\Program Files (x86)\iVMS8600-TOCC\log\cms\debug.log 2017-11-23T17:31:44+08:00 INFO Harvester started for file: D:\Program Files (x86)\iVMS8600-TOCC\log\cms\error.log 2017-11-23T17:31:46+08:00 ERR Connecting error publishing events (retrying): dial tcp [::1]:5044: connectex: No connection could be made because the target machine actively refused it. 2017-11-23T17:31:49+08:00 ERR Connecting error publishing events (retrying): dial tcp 127.0.0.1:5044: connectex: No connection could be made because the target machine actively refused it. 2017-11-23T17:31:53+08:00 ERR Connecting error publishing events (retrying): dial tcp [::1]:5044: connectex: No connection could be made because the target machine actively refused it. 2017-11-23T17:31:59+08:00 ERR Connecting error publishing events (retrying): dial tcp 127.0.0.1:5044: connectex: No connection could be made because the target machine actively refused it.
So what could lead to this and how could to resolved it.