Will writing the primary log to a database with the suggested query give the same metrics as writing to the text log file, when viewing the log with Log Analyzer?
http://www.ks-soft.com/hostmon.eng/mfra ... ctions.htm
INSERT INTO HMLOG (EVENTTIME, TESTNAME, STATUS, REPLY, TESTID, TESTMETHOD, RECURRENCES) VALUES (‘%DateTime%', '%TestName%', '%Status%', ‘%Reply%', %TestID%, ‘%TestMethod%’, %Recurrences%)
I plan to select "Midnight" default logging mode for primary log.
Will writing to a database with suggested query give metrics
-
- Posts: 34
- Joined: Mon Apr 28, 2008 10:15 am
Re: Will writing to a database with suggested query give met
From menu select "Logs & Reports", then from "Common log" section click on hyperlink "ODBC" from sentence "For each log you may choose defferent log type (ODBC or File),"
Yes, it will work. You may remove Recurrences field. Its not necessary.INSERT INTO HMLOG (EVENTTIME, TESTNAME, STATUS, REPLY, TESTID, TESTMETHOD, RECURRENCES) VALUES (‘%DateTime%', '%TestName%', '%Status%', ‘%Reply%', %TestID%, ‘%TestMethod%’, %Recurrences%)
http://www.ks-soft.net/hostmon.eng/mfra ... tm#odbclog
Regards
Alex