I am seeking for a solution that allows something like:

Every log from ip address a.b.c.d will be written to /var/log/host-x
Every log from ip address x.y.z.k will be written to /var/log/host-y

Got the ideia ?

Is there any solution that allows me to do that ?

Thanks in advance.

On Mon, May 14, 2012 at 5:10 PM, Jiri B <ji...@devio.us> wrote:
> On Mon, May 14, 2012 at 04:01:33PM -0300, Friedrich Locke wrote:
>> Dear members list,
>>
>> i have setted up a syslog server in order to receive messages from a
>> set of servers. It is working ok, but i would like to write messages
>> based on hostname filter. Is it possible?
>> Do you have any experience on this?
>>
>> Thanks for your time and cooperation.
>
> If you would read man pages for syslogd, you would see that syslog daemon
> in OpenBSD doesn't have such feature. Install syslog-ng, rsyslog from ports
> to have more filtering features.
>
> jirib

Reply via email to