LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-14-2017, 07:11 AM   #1
Ankushkalra
Member
 
Registered: Jan 2017
Posts: 48

Rep: Reputation: Disabled
Syslog Client verify


Hi,

I am new to syslog envirement.We have a Syslog server and all syslog clients writes logs on syslog server.

I need to check whether my all syslog clients are reflecting in syslog server or not for Compliance purpose.

My syslog server configration is as below

Templates

$template TmplAuth, "/abc/var/log/secure"

$template TmplMsg, "/abc/var/log/messages"

$template TmplCrn, "/abc/var/log/cron"


authpriv.* ?TmplAuth

*.info,mail.none,authpriv.none,cron.none ?TmplMsg

cron.* ?TmplCrn

My syslog client configration is

*.err;*.emerg;*.crit;authpriv.* @syslog server ip>

local3.info @ual server ip>

what command will i run on syslog client which writes a log in /abc/var/log/messages of syslog server.

I am writing below command in syslog client

#logger ABC

It write a log in /var/log/messages files on syslog client but doesnt write in on /abc/var/log/messages of syslog server.

P.S: IF i run below command on syslog client,it is reflecting in /abc/var/log/secure of syslog server

logger -p authpriv.info ABC

I want a command that i will run on syslog client which will be written on syslog server in /abc/var/log/messages.

Thanks
 
Old 01-14-2017, 07:48 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Looks like it could be

Code:
logger -p local2.err ABCmsg
 
  


Reply



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
OpenSSL client: verify that client is valid zvivered Linux - Security 6 11-18-2016 04:42 AM
syslog client ipihipi Linux - Software 2 12-15-2010 05:06 AM
syslog client to log to syslog-ng and itself noir911 Linux - Server 1 02-08-2008 09:51 AM
Syslog client for KDE jeucken Linux - Software 7 05-20-2006 12:08 PM
Syslog Client ganninu Linux - Networking 1 10-06-2003 10:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:05 AM.

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
Open Source Consulting | Domain Registration