Logging, Syslog and Log Anaylsys Forums
»
Forums
»
Syslog & syslogd
»
syslog-ng
syslog-ng catchall and fallback
Username:
1 Hour
1 Day
1 Week
1 Month
Forever
Password:
Home
Help
Search
Quick Search
Advanced Search
Login
Register
News
:
« previous
next »
Pages: [
1
]
0 Members and 1 Guest are viewing this topic.
Topic Tools
Topic Tools
Print
August 05, 2008, 07:37:38 pm
#0
pparcell
pparcell
Show pparcell's last posts.
Show general stats for pparcell.
Newbie
Posts: 2
syslog-ng catchall and fallback
Hello,
I am trying to figure out a way to log fallback and catchall at the same time. I have this setup currently but if I have the catchall configured then the fallback never gets anything even if I change the order.
filter f_53101_sw12.den05 { host("64.78.144.212"); };
destination d_53101_sw12.den05 { file("/var/log/customers/53101/sw12.den05/log"
owner("root") group("janitor") perm(0664)); };
log { source(net); filter(f_53101_sw12.den05); destination(d_53101_sw12.den05);
};
# this rule catches all network traffic for syslog which is still left
destination d_left { file("/var/log/network-leftover"); };
log { source(net); destination(d_left); flags(fallback); };
destination d_net { file("/var/log/from-net"); };
log { source(net); destination(d_net); flags(catchall); };
August 06, 2008, 06:46:58 am
#1
mutex
mutex
Show mutex's last posts.
Show general stats for mutex.
Administrator
Newbie
Posts: 782
Re: syslog-ng catchall and fallback
I don't believe they can be effectively used together.
the catchall statement will process logs not handled by another FILTER.
the fallback statement will process logs not handled by another DESTINATION.
Since the catchall is getting the rest of your logs and writing them to a destination, no logs are matching the fallback criteria.
August 06, 2008, 08:59:08 am
#2
pparcell
pparcell
Show pparcell's last posts.
Show general stats for pparcell.
Newbie
Posts: 2
Re: syslog-ng catchall and fallback
Unfortunately I think you are right
. I was hoping that there might be a way but I guess not. On the catchall functionality, from my logs it is logging everything no matter if there was a previous filter or not.
«
Last Edit: August 06, 2008, 11:07:30 am by pparcell
»
Pages: [
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Forums
-----------------------------
=> Syslog & syslogd
===> syslog-ng
=> Log Data and Analysis
=> Windows Event Log
=> Web Server Logs
=> Security
=> General Discussion
=> Red Light District
=> Logs, Sarbanes Oxley and Compliance
GoogleTagged:
syslog catch all
syslog-ng filter fallback
syslog-ng catchall
mss
syslog-ng filter catchall
syslog-ng
syslog-ng catch all
syslog-ng catch-all
syslog-ng fallback
syslog-ng flags fallback
fallback syslog-ng
syslog-ng filter order
catchall syslog-ng
fallback syslog-ng problem
syslog catch all network log
fallback log
flags
Information Security News
|
Jerry Bell's blog
|
Enterprise IT
|
Tropical Fish Information
|
Tropical Fish Forums
Loading...