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
Log Analyzer chart for last 2 hours
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: Log Analyzer chart for last 2 hours
Sure. You may use Filter option: http://www.ks-soft.net/hostmon.eng/la/index.htm#filterHakanH wrote:Is it possible to make a chart in Log Analyzer that just includes the last 2 hours?
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
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:
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]
Right now my script looks like this:
Code: Select all
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"
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]
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:
Chart of today:
Regards
Hakan
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: Select all
DateTimeFilter %DDMMYYYYHHmm[-2H]% %DDMMYYYYHHmm%
Code: Select all
DateTimeFilter %DDMMYYYY0800% %DDMMYYYY1700%
Hakan