KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Create report to the particular file.

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Reports
View previous topic :: View next topic  
Author Message
Dubolomov



Joined: 01 Jun 2006
Posts: 214
Location: Russia

PostPosted: Tue Feb 06, 2007 11:18 pm    Post subject: Create report to the particular file. Reply with quote

Hi. Is it possible to use any variable in LogAnalyzer's script file or use special command line options for creating specify name report file?
E.g. Every night log analyzer create report by a schedule from private log file. I can use date variable for creating directories where this file will be. But i have many private logs and would like to create report files (or directories) with name like "%ReportProfileName%__%yyyymmdd[-1d]%.htm".
Thank you.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Wed Feb 07, 2007 6:55 pm    Post subject: Reply with quote

Quote:
Hi. Is it possible to use any variable in LogAnalyzer's script file or use special command line options for creating specify name report file?

Command line? No.
You may specify file name using Report Manager. Quote from the manual
Quote:
By default Log Analyzer saves all reports into one directory (you can specify that directory in the Options dialog), and uses the name of the profile as a file name (with HTM extension). But you can specify another file name by choosing the "Put report into particular file" option and providing a path and name of the file.


Quote:
E.g. Every night log analyzer create report by a schedule from private log file. I can use date variable for creating directories where this file will be. But i have many private logs and would like to create report files (or directories) with name like "%ReportProfileName%__%yyyymmdd[-1d]%.htm"

1) You cannot use "%ReportProfileName% variable. Because you don't need such variable
2) You may use date macro variables but you cannot use expressions.

Quote from the manual
Quote:
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


Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Reports All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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

KS-Soft Forum Index