I noticed when I install NXlog on Windows server, it sends mostly some rubbish logs and can’t figure it out why. This doesn’t happens all the time, not sure what causes this. Picture of an example is bellow.
We have Graylog cluster of 3 nodes which all host Graylog, Elasticsearch and MongoDB. Graylog is updated to the latest version, but this is something I noticed in earlier versions too.
I’m pretty new to Graylog myself, so I’m not entirely sure if this is going to help you out (it did for me though). It looks like you’re missing an important part in the nxlog.conf file:
Using the syslog module:
<Extension _syslog>
Module xm_syslog
</Extension>
Which should be above (maybe) the gelf module:
<Extension _gelf>
Module xm_gelf
</Extension>
In my case I’m actually using TCP as well for the output:
The only pointers I can personally think of are these three…
Either the Windows Server version (nxlog.conf):
If older that Windows 2003, use the im_msvistalog module
If Windows 2003 (including) or before, use the im_mseventlog module
Check that the input type in Graylog is set to the right one, being either Syslog TCP or Syslog UDP (depends on the Output in your nxlog.conf settings).
Possible fluke here… any configured Extractors on the input which could be playing up? Even a Pipeline?
Again, I hope this helps…
Hopefully someone in the community will have a better insight regarding the strange characters in the message field.