LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-05-2018, 12:23 PM   #1
Infam
LQ Newbie
 
Registered: Mar 2018
Posts: 1

Rep: Reputation: Disabled
Rsyslog config help


Hello, so I have to create a new file "auth-errors.conf" in the rsyslog config files directory, with the rule of facility:authpriv, severity: alert, and write to /var/log/auth-errors . So I know that I need to use the authpriv.alert pair ( I think ), but my confusion is how would I go about this? Config the actual rsyslog config file or create the file and write the rule.. Sorry for the stupid question! Thanks in advance for any help
 
Old 03-06-2018, 01:05 AM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
You create the new file, put in it the new rule, and save it to the directory, /etc/rsyslog.d
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble with rsyslog config to filter dnsmasq-log-spam Yalla-One Linux - Server 2 01-04-2013 12:35 AM
Can any one write a sample rsyslog config file? Balvinder87 Linux - Software 16 07-20-2012 12:47 AM
rsyslog ytd Linux - Newbie 1 02-11-2011 01:43 AM
How to config rsyslog on Fedora 10 to collect the log from Cisco ASA5510 ? gutiojj Linux - Server 2 03-30-2010 03:08 PM
anyone using rsyslog? slackamp Slackware 1 10-16-2007 09:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration