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

Usage problem with Log Analyzer

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
mrw



Joined: 08 Oct 2012
Posts: 179

PostPosted: Thu Mar 26, 2020 4:01 am    Post subject: Usage problem with Log Analyzer Reply with quote

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..
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Thu Mar 26, 2020 5:09 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
mrw



Joined: 08 Oct 2012
Posts: 179

PostPosted: Thu Mar 26, 2020 6:14 am    Post subject: Reply with quote

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..
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Thu Mar 26, 2020 6:37 am    Post subject: Reply with quote

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.

Quote:
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%"

Quote:
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
Back to top
View user's profile Send private message Visit poster's website
mrw



Joined: 08 Oct 2012
Posts: 179

PostPosted: Thu Mar 26, 2020 6:52 am    Post subject: Reply with quote

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..
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Thu Mar 26, 2020 9:09 am    Post subject: Reply with quote

Quote:
that it cannot open the logfile. (..\Logs\2020-03-log.htm)

Is that correct log file name?

Quote:
Did something bad happen to the logs when I changed the default to Full?

No

Quote:
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
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Thu Mar 26, 2020 9:10 am    Post subject: Reply with quote

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
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 -> Configuration, Maintenance, Troubleshooting 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