|
View previous topic :: View next topic |
Author |
Message |
guido
Joined: 09 Jan 2009 Posts: 5
|
Posted: Tue Feb 09, 2010 6:10 am Post subject: Loganalyzer fails on special date expression |
|
|
Hallo,
we are using hm 7.22d enterprise,
loganalyzer 5.43 (also tested 5.52 -> same result)
We need to save a report to a special place.
I set in report manager (in the log analyzer)
Put report into paricular file ->
"c:\test\%yyyy%\%mm%-name.htm"
works fine with "resolve macros"
but i need the month before, if i use
"c:\test\%yyyy%\%mm[-1m]%-name.htm"
like stated in http://www.ks-soft.net/hostmon.eng/la/dateexpr.htm
a failure notice shows "Invalid File name"
btw. the syntax "LoadFile ... %yyyy%\%mm[-1m]%.htm" in log analyzer script is working |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Tue Feb 09, 2010 7:30 am Post subject: |
|
|
This is correct behavior. You cannot use such expressions in report profile.
If you specify file name for the report then you should check the following part of the manual
http://www.ks-soft.net/hostmon.eng/la/#RepMan
======================
Resolve macros
If you enable this option a date macro variables may be specified in the destination file name. Log Analyzer will interpret text between the '%' in the file name as a macro variable, where 'DD' represents the day of the month, 'MM' - the month, 'YY' - the year (2 last digits), 'YYYY' - the year.
This allows creating file names by a template such as one of these:
C:\HostMonitor4\Reports\%DDMMYY%-rep.htm
C:\HostMonitor4\Reports\%YYYY\DD-MM%.htm
======================
Expressions declared in another section of the manual
http://www.ks-soft.net/hostmon.eng/la/#Scripts
Regards
Alex |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|