I don’t have problem to read any ubuntu, debian server log on graylog.
But i create sidecar for windows 10 and nxlog for windows 2012.
All input is running (green) but server not received messages from windows.
I don’t have a firewall on ubuntu and special port for windows is open in windows firewall.
my conf file on 2012 is:
define ROOT C:\Program Files (x86)\nxlog
sorry i am new here. i find out what the problem is it was firewall between to subnet now i can see my graylog take row when i look under system/input it show total 10 MB.
But when i say show received messages graylog show nothing. nxlog say running and no error
how to send conf file conf file has <> and this is ignore in this text messages
You’re sending syslog messages over UDP to Graylog, which is listening on 12201, is that right? If so, 12201 isn’t a default syslog port, nor is it something that we typically recommend setting syslog ports to. That’s the default port for GELF, so you should probably change your port to whatever you’re using for your syslog input in Graylog, or change your output in nxlog to GELF.
Tell me anything at all. Can you point me to where you got the config for NXlog? Can you also provide a full screenshot of the input? I’ll also reiterate what @gsmith has mentioned: The more detail you provide, the better we can help. It’s difficult to help you get an answer to your problem if information is lacking.
The gist of what I’m getting at is you’re sending syslog messages to a GELF input–that won’t work. At least that’s what I’m inferring from the port number you’re using. Syslog uses port 514 (a privileged port, which you’ll need to change). Are you actually sending syslog messages to a syslog input? If not, then that’s your problem.
Sir,
This is really, really hard to help you. Please re-read @aaronsachs posts and mine above. I have no idea what I’m seeing.
Your Nxlog configuration is incorrect. Please read over this post.
Hello, i don’t know, why the last line not copied here. but you are right i forgat GELF_UDP
i add UDP and i have a rout from win to graylog nothing happen. No enry in my graylog.
Did you restart nxlog service after you reconfigured nxlog.conf file?
Did you execute tcpdump on Graylog to see if messages were reaching Graylog from your Windows device?
Example:
tcpdump -n host 192.168.1.10
It would help showing what you are seeing in the form of logs , etc…
@gsmith , It’s working know, it was a wrong ip.
I don’t know i should open a new question for following issue.
I have more than 800 linux / windows server, if they are going on graylog does everyone have to have their own port?
To give you some ideas, what we have in production are the following INPUT’s with different ports ( i.e. you can not use the same port on multiple INPUTS). Because this is a public forum I did change port number for this post but it will give you an idea on what I’m talking about.
Linux Secure System GELF TCP (port 38001) ← Linux devices
NetFlow NetFlow UDP (port 2055) ← specific Devices that have netflow
It should be obvious that the Windows Device go to the Windows INPUT etc…
Also on each INPUT that receives multiple devices logs our INPUT/s are set for Global as shown below.