[syslog-ng] Read all the log files from a directory and sub directory

Robert Fekete frobert at balabit.com
Tue Aug 25 10:23:14 CEST 2009


the wildcards in pathnames and recursive directory handling features are only
available in syslog-ng PE. Unfortunately, the recursive directory handling was
not marked as a PE-only feature in the admin guide; I will correct it and
release a new edition sometime this week.

Thank you very much for noticing this docbug.

Kind Regards,

Robert Fekete

Robert Fekete
Technical Writer

Jain, Vaibhav (GE Healthcare) wrote:

> Hi,
> I am using syslog-ng open source 3.0.3-1 ( rhel5.amd64) version. I want
> to collect all the logs from a directory and it's subdirectory. I am
> using following syntex and I am not getting any error but it is not
> working.
> source s_file_subdirectories { file("/var/application/*.log"
> recursive(yes)
> follow_freq(1)
> log_fetch_limit(100)
> );};
> Can you suggest me how to make configuration to read logs from directiry
> and sub-dir? Is this feature supported in open source 3.0.3-1 release? I
> am following syslog-ng admin guide.
> - V
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html

More information about the syslog-ng mailing list