1832890 Members
2835 Online
110048 Solutions
New Discussion

Re: syslog question

 
msaygak
Frequent Advisor

syslog question

Hello!
Our security wants me to forward all syslog messages to their server 514/udp. But I need the syslog messages too.
Is it possible to forward syslog messages over network and store copy locally?
3 REPLIES 3
msaygak
Frequent Advisor

Re: syslog question

I found answer.
*.alert /dev/console
*.alert root,eric,kridle
*.emerg *
*.emerg @admin
I can add one more line with facility.level and forward messages to log collector.
Kapil Jha
Honored Contributor

Re: syslog question

i suppose you can mail them

mail -s subject abc@xyg.com < syslog

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Viktor Balogh
Honored Contributor

Re: syslog question

AFAIK you shouldn't need to use a separate line for that, it can also be defined in a single line ;)
****
Unix operates with beer.