Hello
How to add multiple file sources to the config file?
<Input windowsfile2>
Module im_file
File 'C:\Program Files (x86)\Folder1\Folder2\pgsql\data\pg_log' - say I have few more LOG files to add?
SavePos TRUE
# ReadFromLast FALSE
Exec $Message = $raw_event;
</Input>
Thank you
how to add multiple file sources to the config file?
Re: how to add multiple file sources to the config file?
I guess it would have to be :dlukinski wrote:Hello
How to add multiple file sources to the config file?
<Input windowsfile>
Module im_file
File 'C:\Program Files (x86)\Folder1\Folder2\pgsql\data\pg_log' - say I have few more LOG files to add?
SavePos TRUE
# ReadFromLast FALSE
Exec $Message = $raw_event;
</Input>
Thank you
<Input windowsfile2> - File # 2
Module im_file
File 'C:\Program Files (x86)\Folder1\Folder2\pgsql\data\pg_log2'
SavePos TRUE
# ReadFromLast FALSE
Exec $Message = $raw_event;
</Input>
Re: how to add multiple file sources to the config file?
It looks like the wildcard in a filename is supported as well:
https://nxlog.co/docs/nxlog-ce/nxlog-re ... onfig_file
https://nxlog.co/docs/nxlog-ce/nxlog-re ... onfig_file
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: how to add multiple file sources to the config file?
Thank youcdienger wrote:It looks like the wildcard in a filename is supported as well:
https://nxlog.co/docs/nxlog-ce/nxlog-re ... onfig_file
Please close