Home
Man
Search
Today's Posts
Register

SUSE Linux is a major operating system. The developer rights are owned by Novell, Inc.

How do I make activities appear in SYSLOG file?

Login to Reply

 
Thread Tools Search this Thread
# 8  
Old 06-09-2015
I am not sure that it is possible to throw audit messages direct to syslog and I don't know which version of syslog-ng comes with SLES. The last you can check with the command rpm -qa | grep syslog-ng.

The first is more difficult. You will need to define in your syslog-ng configuration one more source and destination for logs.

Source is something like:
Code:
source s_audit {
  file ("/var/log/audit/audit.log"
    follow-freq(1)
    keep-timestamp(yes)
    flags(no-parse));
};

Destination is something like:
Code:
destination d_logrythm {
  syslog("your-server" 
  transport("tcp")
  port("514"));
};

And then tell syslog-ng, that messages from audit.log should go to logrythm:
Code:
log { source(s_audit); destination(d_logrythm); };

Of course, it is just an example. You have to adapt this configuration to your environment.
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SYSLOGS - Where can I find FTP activities Harleyrci Solaris 1 03-08-2011 11:26 AM
shell script for monitoring users activities rrd1986 Shell Programming and Scripting 3 08-27-2010 10:31 AM
May i know the day to day activities of a Solaris system administrator? Sesha Solaris 4 05-11-2010 02:34 AM
makeutility: how to get the make-file name inside of the make-file? alex_5161 Programming 2 09-17-2009 06:57 PM
Script to log into unix box and do a set of activities cybersandex Shell Programming and Scripting 1 10-02-2008 04:42 AM
restricting users privileges and logging their activities sh_ksa Solaris 0 03-16-2007 07:38 AM
Need for loop to do 2 activities dsravan Shell Programming and Scripting 3 08-16-2006 03:59 AM
patterns from logs and activities rocketkids Shell Programming and Scripting 3 02-10-2004 06:45 AM
Tracking activities of Users using a particular login. jyotipg UNIX for Advanced & Expert Users 4 08-04-2003 12:43 PM
Keeping an eye on all user activities shauche UNIX for Advanced & Expert Users 5 05-19-2003 07:07 PM


All times are GMT -4. The time now is 10:08 AM.

Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password