Usage problem with Log Analyzer

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
mrw
Posts: 187
Joined: Mon Oct 08, 2012 6:11 am

Usage problem with Log Analyzer

Post by mrw »

Hi,
I have a specific test(a simple ping) that has run every 10 seconds for 24 hours.
Now I would like to see the results from all of the tests within a certain time period. Lets say March-25 18:00 to March 25 23:00.

Is this possible to get using Log Analyzer?

When I use the Filter to set this I get no logs at all. and if I set the Day-time filter to All records, I only get 2 testresults.
Is it skipping some of these tests or what could I be doing wrong?

Thanks in advance,
//Andreas..
KS-Soft
Posts: 12887
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

HostMonitor version?
Log Analyzer version?
May be there are only 2 log records?
What logging mode do you use? Full, Brief, Reply, Midnight?

Also you may use built-in Viewer (HostMonitor menu View-> Log Viewer -> Filter -> Display single test with ID..)

Regards
Alex
mrw
Posts: 187
Joined: Mon Oct 08, 2012 6:11 am

Post by mrw »

Hostmon v12.28
Log Analyzer v6.28

I see in the Options->Log Settings, that Default logging mode is Midnight.
Does that mean that, as you say, that there might be only 2 log records?

Should it be set to Full for me to get all logs?
If so, then that´s the setting I need to change. :)


BTW, when I try to use the Log Viewer, it tries to open Internet Explorer, but then it hangs. No data comes up.
The same goes for System log.


Thanks!
//Andreas..
KS-Soft
Posts: 12887
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Quote from the manual

Default logging mode
This option tells HostMonitor when information should be written. Choose one of the following options:

- Full: Save information about every performed test
The "Save information about every performed test" option tells HostMonitor to add a record every time a test is performed.

- Brief: Write a record when test status changes
With this option selected no logging happens as consecutive tests return same status value, until the status changes, at which point a new log record is added.

- Midnight: Write a record when test status changes + midnight logging
With this option selected HostMonitor records information about current status of all test items at midnight (every night), then no logging happens as consecutive test probes return same status value, until the status changes, at which point a new log record is added.

- Reply: Write a record when test status or reply value changes

While the second option (Brief) is obviously most space-efficient, the first one (Full) allows you to build up statistics on response time, reply value, etc. This statistical information can be then parsed and visualized by the Log Analyzer.
3rd option is useful if you are using Log Analyzer to generate reports for different time intervals but you do not want to keep large log files.

Please note: you may change logging mode for particular test items in the Test Properties dialog by choosing one of the options:
Default - the common settings defined in the Options dialog are used;
Brief - record information whenever status of the test changes;
Full - record all test results, regardless of whether their status had changed or not;
Reply - record information into log every time the status or reply value of the test changes.
when I try to use the Log Viewer, it tries to open Internet Explorer
Quote from the manual

Log Viewers
For each type of log file (HTML, Text, DBF) select one of the options:
Internal - use the build-in viewer
Associate program - use the default Windows viewer for file
External - use an external viewer. Define a command line to start the program that will be used as the viewer. The name of the log file to view can be passed to this program as a parameter using macro variable %LOG%. E.g. "notepad.exe %Log%"
Internet Explorer, but then it hangs. No data comes up.
Web Browsers do not work well with big log files. Can be used when you setup HostMonitor to change log file every day or when you have small logs because of logging options, small amount of tests, etc..

Regards
Alex
mrw
Posts: 187
Joined: Mon Oct 08, 2012 6:11 am

Post by mrw »

Aha, thank you for the information.

I changed the default setting back to midnight and changed it to full on only those tests that I need it on.

I also changed the viewer for HTML to the internal viewer which works much better than IE.

But now when I right-click any test and select Log Analyzer I get an error message saying that it cannot open the logfile. (..\Logs\2020-03-log.htm).
Did something bad happen to the logs when I changed the default to Full?
It´s now back to Midnight but this error started when on Full and remains on Midnight.

Also, in the Log viewer, where I can select a single test using ID. Where do I get the ID for a test item?

Regards,
//Andreas..
KS-Soft
Posts: 12887
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

that it cannot open the logfile. (..\Logs\2020-03-log.htm)
Is that correct log file name?
Did something bad happen to the logs when I changed the default to Full?
No
Also, in the Log viewer, where I can select a single test using ID. Where do I get the ID for a test item?
Use Test Info dialog (select test, click Ctrl+I).
Or filter log records by text (test name).

Regards
Alex
KS-Soft
Posts: 12887
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Also if you do not plan to use web browser to view logs, you may change log file type to text, it will save space and will be processed faster.
Note: HostMonitor will not convert old HTML log, it will create new Text one.

Regards
Alex
Post Reply