Logging, Syslog and Log Anaylsys Forums
March 11, 2010, 06:53:26 pm
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
WIKI
BLOG
Help
Search
Recent Topics
GoogleTagged
Login
Register
Logging, Syslog and Log Anaylsys Forums
>
Forums
>
syslog-ng
>
syslog-ng configuration to collect vsyslog() events
Pages: [
1
]
« previous
next »
Print
Author
Topic: syslog-ng configuration to collect vsyslog() events (Read 977 times)
kalkotivinay
Newbie
Offline
Posts: 32
syslog-ng configuration to collect vsyslog() events
«
on:
May 15, 2009, 10:44:47 pm »
Hi,
I am trying to figure if syslog-ng can capture events logged by vsyslog() system call and redirect them to specified destinations.
Can anyone give me pointers to this.
Thanks,
Vinay
Logged
mutex
Administrator
Newbie
Offline
Posts: 895
Re: syslog-ng configuration to collect vsyslog() events
«
Reply #1 on:
May 16, 2009, 08:06:29 am »
Yes. You need to configure syslog-ng to read from the standard unix stream file that glib is configured to write to
Logged
kalkotivinay
Newbie
Offline
Posts: 32
Re: syslog-ng configuration to collect vsyslog() events
«
Reply #2 on:
May 22, 2009, 12:15:51 am »
Thanks Mutex. I am able to read from unix-stream.
I have a scenario where 3 processes are logging events using the vsyslog() call. In syslog-ng, I should redirect events from different processes to different destinations. How should I filter the events that I get from /dev/log ?.
Is the following configuration a good configuration or are there any better ways of doing this ?
filter program_myprog { program(myprog); };
log { source(src); filter(program_myprog); destination(dest); };
Thanks,
Vinay
Logged
mutex
Administrator
Newbie
Offline
Posts: 895
Re: syslog-ng configuration to collect vsyslog() events
«
Reply #3 on:
June 10, 2009, 12:15:38 pm »
I am sorry for the delay in getting back. Busy times. I think you have the best way to separate the logs with your idea above.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Forums
-----------------------------
=> Syslog & syslogd
=> syslog-ng
=> Log Data and Analysis
=> Windows Event Log
=> Web Server Logs
=> Security Event Management
=> General Discussion
===> Red Light District
Information Security News
|
Jerry Bell's blog
|
Enterprise IT
|
Tropical Fish Information
|
Tropical Fish Forums
Loading...