Hello everyone
Well it’ve been while i’m facing this probleme
I am trying hard to send logs from my ubuntu 14.04 ( using Rsyslog) (ip : 192.168.2.36)
To ===> my Graylog Server (192.168.2.37)
well this is the input configuration
Thank u for your answer i think the port 1514 is listning
and i just install this machine for test in vmwar i did not set up any firwall
Thank you again for your help Mr Jochen
Did you check rsyslog config so that it is actually running and loads your config file? Like rsyslogd -N1
Also: do you run SElinux? If you do, you need to make port 1541 a rsyslogd port with semanage, or else SElinux will not allow rsyslogd to send data there.
> rsyslogd -N1
rsyslogd: version 7.4.4, config validation run (level 1), master config /etc/rsyslog.conf
rsyslogd: error: extra characters in config line ignored: '”<%PRI%>%PROTOCOL-VERSION% %TIMESTAMP:::date-rfc3339% %HOSTNAME% %APP-NAME% %PROCID% %MSGID% %STRUCTURED-DATA% %msg%\n”'
rsyslogd: Could not find template 'GRAYLOGRFC5424' - action disabled [try http://www.rsyslog.com/e/3003 ]
rsyslogd: error during parsing file /etc/rsyslog.d/graylog_syslog.conf, on or before line 2: errors occured in file '/etc/rsyslog.d/graylog_syslog.conf' around line 2 [try http://www.rsyslog.com/e/2207 ]
rsyslogd: Could not find template 'GRAYLOGRFC5424' - action disabled [try http://www.rsyslog.com/e/3003 ]
rsyslogd: error during parsing file /etc/rsyslog.d/graylog_syslog.conf, on or before line 3: errors occured in file '/etc/rsyslog.d/graylog_syslog.conf' around line 3 [try http://www.rsyslog.com/e/2207 ]
rsyslogd: End of config validation run. Bye.
amine-el-hijazi@ClientSys:~$ rsyslogd -N1
rsyslogd: version 7.4.4, config validation run (level 1), master config /etc/rsyslog.conf
rsyslogd: End of config validation run. Bye.
I think the probleme is fixed but still i don’t recive anything in the sever i have a very stupide how can i make sur that i m genereting logs that will be sent to the server , cauz i tried to restart services and other and nothing is working so any idea ?
Well the probléme is solved !
thank u all very much
what helped me in this topic :
1 cheking my firwall rull
2 cheking the work of Rsyslog rsyslogd -N1
and i just find a stupide mistake in my configuration
And that is !
Thank u all for your help !