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

Log Analyzer chart for last 2 hours

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



Joined: 06 Feb 2007
Posts: 19

PostPosted: Tue Feb 06, 2007 6:03 am    Post subject: Log Analyzer chart for last 2 hours Reply with quote

Is it possible to make a chart in Log Analyzer that just includes the last 2 hours?

I'm using Log Analyzer 5.35 and my log format is HTML.

Regards
Hakan Haskel
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Tue Feb 06, 2007 6:33 am    Post subject: Re: Log Analyzer chart for last 2 hours Reply with quote

HakanH wrote:
Is it possible to make a chart in Log Analyzer that just includes the last 2 hours?

Sure. You may use Filter option: http://www.ks-soft.net/hostmon.eng/la/index.htm#filter

Also you may create simple HMS script with specified "DateFilter" and "TimeFilter Include" commands, and start Log Analyzer with the following command line parameter "-script:<name of script file>"
http://www.ks-soft.net/hostmon.eng/la/index.htm#Scripts

Regards,
Max
Back to top
View user's profile Send private message Send e-mail Visit poster's website
HakanH



Joined: 06 Feb 2007
Posts: 19

PostPosted: Tue Feb 06, 2007 7:39 am    Post subject: Reply with quote

I have tried to use "TimeFilter Include", but that command only seem to affect the statistics and not the chart.

Right now my script looks like this:
Code:
LoadFile C:\Program Files\HostMonitor4\Logs\%DDMMYYYY[-1d]%-log.htm
AppendFile C:\Program Files\HostMonitor4\Logs\%DDMMYYYY%-log.htm
TimeFilter Include 08:00 18:00 08:00 18:00
SkipMode On
SkipLevel 2
CreateReport "Network Traffic"

With this script the chart that is generated always starts at 00:00 one day back and ends at current time.

Should the chart start at 08:00 with my script?

How can I get it to only show the last 2 hours?

Regards,
Hakan Haskel[/img]
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Wed Feb 07, 2007 12:02 am    Post subject: Reply with quote

Test results filtered by DateFilter do not appear on chart al all.
While items filtered by TimeFilter appear on chart, Log Analyzer uses special color for such items (grey by default)

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
HakanH



Joined: 06 Feb 2007
Posts: 19

PostPosted: Thu Feb 08, 2007 5:18 am    Post subject: Reply with quote

OK, then mayby this should go to the "Wish list".

I would like to be able to filter on both data and time in Log Analyzer.

Something like this:

A chart with last 2 hours:
Code:
DateTimeFilter %DDMMYYYYHHmm[-2H]% %DDMMYYYYHHmm%

Chart of today:
Code:
DateTimeFilter %DDMMYYYY0800% %DDMMYYYY1700%


Regards
Hakan
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Thu Feb 08, 2007 10:48 am    Post subject: Reply with quote

We plan to redesign Log Analyzer in version 7

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