Converting logs to a word or excel spreadsheet

Need new test, action, option? Post request here.
Post Reply
loewentech
Posts: 1
Joined: Thu Apr 03, 2003 6:00 pm
Location: Loewen Ent.

Post by loewentech »

Since the logs are created and inserted into the host systems c: drive and the host folder on the network, it would be excellent for HostMonitor to export the logs to a spreadsheet for easy comparison and analysis.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

word or excel spreadsheet? I don't think it will be implemented. HostMonitor supports more standard ODBC data source.
Probably we can implement HTML<->DBF<->TXT<->CSV converter into new Log analyzer.

Regards
Alex
Wooltown
Posts: 115
Joined: Wed May 22, 2002 6:00 pm
Location: Sweden

Post by Wooltown »

ODBC is available for Excel files, so taht could be a solution !


/Sven
gogol

oh yeah ???

Post by gogol »

So how could you send sql queries to an excel file ?
Is there a way to define a table ?
Could you give an exemple ?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

So how could you send sql queries to an excel file ?
First you should setup ODBC data source for exel files.
If you want to log all data to that table, use "ODBC log" option that is located on Advanced Logging page in the Options dialog.
If you want to log some specific data, you may use "SQL Query" action.
Is there a way to define a table ?
HostMonitor does not create tables. Use Excel or some DBMS.
Could you give an exemple ?
Example of SQL Query? No problem:
Insert into hmlog (eventtime, testname, status, reply) VALUES (%DateTime%, '%TestName%', '%Status%', '%Reply%')

Regards
Alex
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

So how could you send sql queries to an excel file
Don't forget that excel is limited to 65535 entries. If you have a lot of tests and/or want to log all items, you better use a database.
Post Reply