From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: Auditd syslog plugin Date: Mon, 04 Jun 2018 18:11:01 -0400 Message-ID: <2348690.m2sBkKRHdC@x2> References: <4f9940d24abf490689b29c52280cdf9e@XCGVAG30.northgrum.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4f9940d24abf490689b29c52280cdf9e@XCGVAG30.northgrum.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com List-Id: linux-audit@redhat.com On Monday, June 4, 2018 9:02:04 AM EDT Boyce, Kevin P [US] (AS) wrote: > All, > > After enabling the syslog plugin for audispd and sending logs to a remote > server I am seeing every event being written to /var/log/messages locally > which is filling up /var. > > This is all redundant since local audit logs are kept in /var/log/audit. > Is there a way to prevent auditd syslog plugin from writing to > /var/log/messages? That is pretty much what the plugin does. It writes all events to syslog which based on rules in /etc/rsyslog.conf decides what to do with the text. Typically it is to write everything to /var/log/messages. However, you can assign a specific facility to the audit events in the /etc/ audisp/plugins.d/syslog.conf file and then in rsyslog.conf exclude the facility by putting .none on the /var/log/messages line. -Steve