Firsts, I want to thank you for all the answers and apologies for my english
I have 2 server, 1 is Graylog server and another is FreePBX has location logs file: /var/log/asterisk/abc.log
I have config logs for my asterisk as follow: http://www.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/Monitoring_id264504.html.
Next, I am trying to config rsyslog by replacing the default files of rsyslog to the file location of asterisk as follows (I am not sure if it’s right or not, if not please give me some advice):
And when I run this and check my logs in ./graylog-server/server.log it show me
I have test by trying to ssh, telnet to my FreePBX but it dont show anything in my Graylog server.
Please, Any ideas can help me ???