<div dir="auto">So that I could communicate between the syslog-ng box and graylog box I sent a test message from the syslog server to the graylog server to make sure it wasn't any networking or firewall issues or selinux issues. I used netcat to ensure I can connect to the input on graylog on port 12201. I will go back and do a TCP dump and get logs when I try to send a test message.</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 7, 2018, 7:22 PM PÁSZTOR György <<a href="mailto:pasztor@linux.gyakg.u-szeged.hu">pasztor@linux.gyakg.u-szeged.hu</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
"Rodney Bizzell" <<a href="mailto:hardworker30@gmail.com" target="_blank" rel="noreferrer">hardworker30@gmail.com</a>> írta 2018-11-07 15:14-kor:<br>
> I can try that but I echoed a message from the syslog server to the graylog<br>
> server and that worked<br>
<br>
What this exactly means that you "echoed" a message?<br>
echo -ne '{some json formatted graylog message}\0' | nc graylog.server 12201<br>
?<br>
<br>
Can you please share the details?<br>
It's really hard to guess what you exactly thought of. And I don't have my<br>
magic crystal sphere with me to have a more reliable guess.<br>
<br>
Have you run a tcpdump to check communication between syslog-ng and<br>
graylog? Could you please share the pcap file?<br>
<br>
You only shared the debug messages of the syslog-ng initialization.<br>
But we haven't seen in your other mail what the debug mode says if you send<br>
in a message which should end up on the graylog server.<br>
Well, this is what debug mode is for: to debug situations like this.<br>
<br>
At this point it could be also useful, if this test system doesn't contain<br>
any sensitive information, to start a debug bundle run, and share the<br>
result:<br>
When your config is ready, etc. just use these parameters for the debun<br>
command:<br>
syslog-ng-debun -d -P 'port 12201'<br>
<br>
It will stop system's syslog-ng service, and restart that in debug mode and<br>
collect the data, and will wait for your input when to stop data collecting.<br>
So, while it runs in debug mode, on a second terminal please try to send a<br>
log message, what destined to reach the graylog server.<br>
Wait a couple of seconds.<br>
Then hit the enter on the first terminal where the data collection is<br>
running.<br>
It will pack the collected data into a tarball, and notify you where is the<br>
resulting file. Then please share that file with us.<br>
<br>
I think that is the most straightforward way to solve this mistery.<br>
<br>
Regards,<br>
Gyu<br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div>