[syslog-ng] Regex Solaris from Linux hosts in Syslog-ng config file

vijay amruth vijayamruth at gmail.com
Thu Oct 29 20:22:38 CET 2015


Thank you fo rthe reply Balazs.

Can we use filter functions like this below ?

filter f_solaris {
        host('uname == solaris') }

My idea is to identify solaris servers.

Thanks all,
~Vj

On Thu, Oct 29, 2015 at 12:59 AM, Balazs Scheidler <bazsi77 at gmail.com>
wrote:

> Well, probably the only sensible way is to filter based on IP addresses.
> On Oct 29, 2015 6:09 AM, "vijay amruth" <vijayamruth at gmail.com> wrote:
>
>> Hello All,
>>
>> We are drawing logs from several hosts which include solaris(10,11) ,
>> linux (centos, ubuntu, rhel) into syslog servers, I want to be able to
>> separate solaris logs, is there any pattern we can match for solaris logs
>> that you may know ?
>>
>> Thanks,
>> Vijay Amrut.
>>
>>
>> ______________________________________________________________________________
>> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
>> Documentation:
>> http://www.balabit.com/support/documentation/?product=syslog-ng
>> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>>
>>
>>
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
>


-- 
Thanks,
Vijay Amrut.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20151029/6fc0a931/attachment.htm 


More information about the syslog-ng mailing list