[syslog-ng] Log only one host

tokie at tiscali.it tokie at tiscali.it
Mon Dec 19 12:04:56 CET 2011


Hi,
I wrong to write. 
filter is before to destination, but don't 
work!!

Can you help me??

I would like log every host in one different 
file.

Tks
Tokie


Message: 4
Date: Tue, 13 Dec 2011 20:47:21 +0100

From: Szalay Attila <sasa at balabit.hu>
Subject: Re: [syslog-ng] Log only 
one host
To: "tokie at tiscali.it" <tokie at tiscali.it>,	Syslog-ng users' 
and
	developers' mailing list <syslog-ng at lists.balabit.hu>
Message-ID: 
<1323805641.9268.6.camel at mochrul.balabit>
Content-Type: text/plain; 
charset="UTF-8"

Hi All!

On Tue, 2011-12-13 at 15:39 +0100, 
tokie at tiscali.it wrote:

> log {
>   source(udp);
>   
> destination
(d_fw);
>   filter(f_fw);
>   };

The log path is a sequence. If you 
first write the logs into the
destination the filter will do nothing. 
You should change the
destination and the filter statement.

-- 
Attila 
Szalay
Support (L3) Team Leader

e-mail: attila.szalay at balabit.com

phone: +36 1 398 6707

BalaBit IT Security
www.balabit.com
H-1117 
Budapest, Aliz street 2.


This Communication is Confidential. We only 
send and receive email on
the basis of the term set out at http://www.
balabit.com/disclaimer/.




------------------------------


_______________________________________________
syslog-ng maillist  -  
syslog-ng at lists.balabit.hu
https://lists.balabit.
hu/mailman/listinfo/syslog-ng


End of syslog-ng Digest, Vol 80, Issue 
19
*****************************************





E' nata indoona: chiama, videochiama e messaggia Gratis. Scarica indoona per iPhone, Android e PC: http://www.indoona.com/ 


More information about the syslog-ng mailing list