[syslog-ng] Log only one host
tokie at tiscali.it
tokie at tiscali.it
Fri Dec 9 12:35:12 CET 2011
Tks for reply,
I tried but don't work!
More specific.. I wish that all
the servers in my network, logging into a specific file of the same
syslog server.
Now all log all!!
I have the same result in different
file(100.log, 101.log, and so on)
tks
Tokie
p.s.:
netmask("a.b.c.
d/32") or netmask("a.b.c.d/255.255.255.255") ???
-----------------------------------------------------------------------------------------
Hi,
On Fri, Dec 9, 2011 at 10:29 AM, Tokie <tokie at tiscali.it> wrote:
>
Hi to all,
> my question is very simple:
> How do I to log only one a
specific ip address??
> I tried filtering with the Host, Host_From,
SOURCEIP, etc without any
> positive result.
>
> What is the correct
syntax?
> Could you help me??
Try using the netmask filter.
filter
f_host_a_b_c_d {
netmask("a.b.c.d/32");
};
Regards,
Sandor
End
of syslog-ng Digest, Vol 80, Issue 14
*****************************************
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