<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Parser file name]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">We have a case where we need to monitor a log file on one server, but the problem is the logfile name is created like "log yyyy-mm-dd.txt'' and are changing each day, is it possible to configure this timestamp in parsers file name?</p>
<p dir="auto">Best regards,<br />
Nikk</p>
]]></description><link>https://forum.netxms.org/topic/4146/parser-file-name</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:19:25 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4146.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 03 Dec 2015 11:03:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Parser file name on Thu, 20 Oct 2016 07:40:30 GMT]]></title><description><![CDATA[<p dir="auto">You can use <a href="http://www.cplusplus.com/reference/ctime/strftime/" rel="nofollow ugc">strftime</a> patterns in file name. For example, to match dd-mm-yy.txt you can use %d-%m-%y.txt as file name. If hour is included, for example yymmddhh.txt - %y%m%d%H.txt. As time changes system will check different file names. If you need something even more complicated you can call external script to determine part of file name, like this: log-`script.cmd`.txt - it will call script.cmd and use it's output as part of file name.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/21227</link><guid isPermaLink="true">https://forum.netxms.org/post/21227</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 20 Oct 2016 07:40:30 GMT</pubDate></item><item><title><![CDATA[Reply to Parser file name on Thu, 20 Oct 2016 07:15:44 GMT]]></title><description><![CDATA[<p dir="auto">Ok so if for example backup program like robocopy creating log file like dd-mm-yy.txt how to monitoring this file then? some backups program generating files with hours in name. Is very hard to predict when backups will finish so i don't know how looks like the log file name? any help?</p>
]]></description><link>https://forum.netxms.org/post/21224</link><guid isPermaLink="true">https://forum.netxms.org/post/21224</guid><dc:creator><![CDATA[dersonik]]></dc:creator><pubDate>Thu, 20 Oct 2016 07:15:44 GMT</pubDate></item><item><title><![CDATA[Reply to Parser file name on Thu, 20 Oct 2016 06:19:17 GMT]]></title><description><![CDATA[<p dir="auto">no, you can specify multiple &lt;file&gt; tags in parser, but wildcards are not allowed.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/21217</link><guid isPermaLink="true">https://forum.netxms.org/post/21217</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 20 Oct 2016 06:19:17 GMT</pubDate></item><item><title><![CDATA[Reply to Parser file name on Tue, 18 Oct 2016 16:04:58 GMT]]></title><description><![CDATA[<p dir="auto">Can I add something like C:\*.txt to monitoring few files with txt extension?</p>
]]></description><link>https://forum.netxms.org/post/21195</link><guid isPermaLink="true">https://forum.netxms.org/post/21195</guid><dc:creator><![CDATA[dersonik]]></dc:creator><pubDate>Tue, 18 Oct 2016 16:04:58 GMT</pubDate></item><item><title><![CDATA[Reply to Parser file name on Tue, 08 Dec 2015 12:13:30 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">yes, in log file name you can use format specifiers from <a href="http://www.cplusplus.com/reference/ctime/strftime" rel="nofollow ugc">strftime</a>. Parser will switch to new file when resulting name changes. For complicated cases you can also use `command` in file name - parser will execute external command and insert it's output.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/18566</link><guid isPermaLink="true">https://forum.netxms.org/post/18566</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 08 Dec 2015 12:13:30 GMT</pubDate></item></channel></rss>