[syslog-ng] Reading Multiple Files Using Regex
Balazs Scheidler
bazsi at balabit.hu
Fri Mar 4 16:01:31 CET 2011
On Fri, 2011-03-04 at 18:46 +0530, Hidayath Basha wrote:
> 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
Well, currently no. Although not regexps, but shell globs are supported
by the Premium Edition of syslog-ng.
(but your sample is a glob, and not a regexp anyway).
--
Bazsi
More information about the syslog-ng
mailing list