[syslog-ng] Reading Multiple Files Using Regex

Hidayath Basha hidayath.basha at saventech.com
Fri Mar 4 14:16:58 CET 2011


Hi,

I have multiple files...
some-host:/some/path $ ls -l
-rw------- 1 root root  90K Mar  3 11:37 mylogs-2011-03-03
-rw------- 1 root root  121 Mar  4 11:40 mylogs-2011-03-04


Can I read these files in the source driver with following source driver?

source s_files{
    file("/some/path/mylogs*");
};

I use SLES 11.0 and syslog-ng 2.0.9

Thanks and regards,
Hidayath

Saven Technologies: A leader in technology driven business solutions
----------------------------------------------------------------------------
-----------------------------------
#302, 3rd Floor, MyHome Sarovar Plaza, Hyderabad- 500 063, India
Off: +91 040 23237303/7304 ext 115
email: hidayath.basha at saventech.com  |  www.saventech.com
follow me: http://twitter.com/hidayath26
----------------------------------------------------------------------------
-----------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20110304/077ea5ab/attachment.htm 


More information about the syslog-ng mailing list