NetXMS Support Forum

English Support => General Support => Topic started by: Med on January 29, 2015, 12:44:35 PM

Title: Settings for the log file monitor file name is changed
Post by: Med on January 29, 2015, 12:44:35 PM
For file name setting in the log file monitor, where you search the forum, file name is found posts subject to change by the date in the following URL.

https://www.netxms.org/forum/configuration/file-keyword-and-process-search/msg4887/#msg4887

Although the date and time it was found that it can be replaced by a variable, for the name of the file to be created in the generation, what can not I set in the same manner if, for example, a file, such as the following are created in order?
We want your professor.

C: \ Log \ Log01.txt
C: \ Log \ Log02.txt
C: \ Log \ Log03.txt
..
..
..
C: \ Log \ Log10.txt
(Generation of 01-99 is created)

Thank you.
Title: Re: Settings for the log file monitor file name is changed
Post by: Victor Kirhenshtein on January 29, 2015, 01:39:37 PM
Hi,

you can create a script which will supply correct file name and call it by inserting `script_name` into file name.

Best regards,
Victor