Comments on: How to Setup Central Logging Server with Rsyslog in Linux https://www.tecmint.com/install-rsyslog-centralized-logging-in-centos-ubuntu/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Wed, 09 Mar 2022 21:36:05 +0000 hourly 1 By: Bhuvan https://www.tecmint.com/install-rsyslog-centralized-logging-in-centos-ubuntu/comment-page-2/#comment-1736194 Wed, 09 Mar 2022 21:36:05 +0000 https://www.tecmint.com/?p=30899#comment-1736194 Did you get any solution for this situation? Am facing the same issue.

]]>
By: Antonio https://www.tecmint.com/install-rsyslog-centralized-logging-in-centos-ubuntu/comment-page-1/#comment-1537012 Sun, 04 Jul 2021 08:07:18 +0000 https://www.tecmint.com/?p=30899#comment-1537012 Hi Everyone,

I would like to share with the community about a critical instruction ‘rsyslog‘ which is mandatory in order to make work exporting to CentOS 7/RHEL 8 as a logs server with mariadb-mysql database.

Very usefull in uses with “Adiscon LogAnalyzer WebApp“. You just need to add to the “/etc/rsyslog.conf” file as follows gère :

$ModLoad ommysql
$ActionOmmysqlServerPort 1234
*.* :ommysql:database-server,database-name,database-userid,database-password

Hoping to help others…
Best regards,
Antonio

]]>
By: Dachshund Digital https://www.tecmint.com/install-rsyslog-centralized-logging-in-centos-ubuntu/comment-page-1/#comment-1492195 Mon, 17 May 2021 18:22:51 +0000 https://www.tecmint.com/?p=30899#comment-1492195 The ‘stop’ is still wrong, it generates configuration error unless the given stop is the LAST line in the rsyslog configuration chain. I as chain, because /etc/rsyslog.d context is injected before any defined rules in the actual /etc/rsyslog.conf file.

A typical rsyslog.conf local file will have additional local rules defined. What happens right now, with ‘& stop’ replacing ‘& ~’ as I said the configuration error reported. If the stop directive is removed, then you get some local files populated as expected, and others directed to a directory that holds local information.

This can and will be confusing to support personnel. You need to add a test of the hostname and if the hostname IS NOT the local system name then and only then the template (rule) is leveraged. Doing this should leave local file content alone as is often defined in the actual rsyslog.conf file.

]]>
By: Edongkido https://www.tecmint.com/install-rsyslog-centralized-logging-in-centos-ubuntu/comment-page-1/#comment-1485298 Mon, 03 May 2021 18:50:24 +0000 https://www.tecmint.com/?p=30899#comment-1485298 In reply to Steffen.

Thank you! this saves me a lot of time!

]]>
By: Aaron Kili https://www.tecmint.com/install-rsyslog-centralized-logging-in-centos-ubuntu/comment-page-1/#comment-1337573 Tue, 16 Jun 2020 04:52:10 +0000 https://www.tecmint.com/?p=30899#comment-1337573 In reply to Steffen.

@Steffen

Many thanks, ones again for sharing this. We are truly grateful.

]]>