Graylog3 Appliance on Ubuntu
Sidecar on my Windows8
I have configured nxlog:
Panic Soft
#NoFreeOnExit TRUE
define ROOT C:\Program Files (x86)\nxlog
define CERTDIR %ROOT%\cert
define CONFDIR %ROOT%\conf
define LOGDIR %ROOT%\data
define LOGFILE %LOGDIR%\nxlog.log
LogFile %LOGFILE%
Moduledir %ROOT%\modules
CacheDir %ROOT%\data
Pidfile %ROOT%\data\nxlog.pid
SpoolDir %ROOT%\data
<Extension _syslog>
Module xm_syslog
</Extension>
<Extension _gelf>
Module xm_gelf
</Extension>
<Input in>
Module im_msvistalog
</Input>
<Output out_udp>
Module om_udp
Host 192.168.209.167
Port 12201
OutputType GELF
</Output>
<Route 1>
Path in => out_udp
</Route>
All firewalls are disabled, on graylog and on my windows (i think!)
But in nxlog.log i see:
2019-04-02 10:52:29 INFO connecting to 192.168.x.x:12201
2019-04-02 10:52:30 INFO reconnecting in 200 seconds
2019-04-02 10:52:30 ERROR couldnât connect to tcp socket on 192.168.x.x:12201; No se puede establecer una conexiĂłn ya que el equipo de destino denegĂł expresamente dicha conexiĂłn.
No inputs received.
Not sure how to test it, I have tried:
C:\windows\system32>echo -n â{ âversionâ: â1.1â, âhostâ: âexample.orgâ, âshort_m
essageâ: âA short messageâ, âlevelâ: 5, â_some_infoâ: âfooâ }â | nc -w0 -u 192.1
68.x.x 12201
C:\windows\system32>eventcreate /id 11 /l application /t information /so graylog
source /d âEvent testingâ
From Graylog console, I see my sidecar running, and created a GELD UDP input