How do I make activities appear in SYSLOG file?

Login or Register to Reply

Thread Tools Search this Thread
# 8  
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:
source s_audit {
  file ("/var/log/audit/audit.log"

Destination is something like:
destination d_logrythm {

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

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

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
SYSLOGS - Where can I find FTP activities
Greetings to all. I need help from the experts. I have been given a FTP server script that runs all day, looking for files that are FTP'd to our machines. Its hoaky I know, but there are times that files are sent but somehow get lost. Is there a logfile I can view to see when files are received? ...... Solaris
makeutility: how to get the make-file name inside of the make-file?
How I can get the current make-file name in a make-file So, if I run make with specified file:make -f target.mak is it possible to have the 'target' inside of the that 'target.mak' from the file name?... Programming
Need for loop to do 2 activities
I need my for loop to do 2 things at a time. I have a script where I move the old files into archive directory and then i want to compress them. Presently I am using 2 for loops for it. How can i do it in 1 for loop. Code: after this i am compresing them in another for loop:... Shell Programming and Scripting
Shell Programming and Scripting
patterns from logs and activities
hi, i need help writing shell scripts to define patterns of user activities on our apache. i thought about going through logfiles and other places where user activities are stored and use that data to define patterns of action. i want these patterns to be visualized then. now my...... Shell Programming and Scripting
Shell Programming and Scripting
Tracking activities of Users using a particular login.
Hi!! Experts, I have a typical scenario here in which several users have access to a particular login .. say "build". None of the users know the passwd for this login. The name of some of the user have been to .rhosts file. The users can connect only by doing a rlogin to this id and then...... UNIX for Advanced & Expert Users
UNIX for Advanced & Expert Users
TM(1)							      General Commands Manual							     TM(1)

tm - meditate
tm [-number] [time]
Tm causes UNIX to go into a state in which all current activities are suspended for time minutes (default is 20). At the beginning of this period, tm generates a set of number (default 3) transcendental numbers. Then it prints a two- to six-character nonsense syllable (mantra) on every logged-in terminal (a different syllable on each terminal). For the remainder of the time interval, it repeats these numbers to itself, in random order, binary digit by binary digit (memory permitting), while simultaneously contemplating its kernel. It is suggested that users utilize the time thus provided to do some meditating themselves. One possibility is to close one's eyes, attempt to shut out one's surroundings, and concentrate on the mantra supplied by tm. At the end of the time interval, UNIX returns to the suspended activities, refreshed and reinvigorated. Hopefully, so do the users.
Tm does not use any files, in an attempt to isolate itself from external influences and distractions.
If disturbed for any reason during the interval of meditation, tm locks the keyboard on every terminal, prints an unprintable expletive, and unlocks the keyboard. Subsequent UNIX operation may be marked by an unusual number of lost or scrambled files and dropped lines.
If number is greater than 32,767 (decimal), tm appears to generate rational numbers for the entire time interval, after which the behavior of the system may be completely irrational (i.e., transcendental).
Attempts to use flog(1) on tm are invariably counterproductive. TM(1)

Featured Tech Videos