Page 1 of 1

How to parse the following output for LOG dashboard view?

Posted: Mon Feb 10, 2020 12:40 pm
by dlukinski
Hello LOG support

Please advice how to parse the following output for the LOG dashboard?
- at least the first part, leaving the last as a single message (note)

We have a lot of similar logs we would like to present on the dashboard.

---------------------------------------
2019-12-15 00:25:37,713 INFO - TEAMCENTER-1 Step-1 :13 Login took 13 seconds to finish
2019-12-15 00:25:38,270 INFO - TEAMCENTER-1 Step-2 :0 Enter search criteria took 0 seconds to finish
2019-12-15 00:25:41,668 INFO - TEAMCENTER-1 Step-3 :3 Clicking on the magnifying icon and wait for the results to appear took 3 seconds to finish
2019-12-15 00:25:43,599 INFO - TEAMCENTER-1 Step-4 :1 Click on the open document icon took 1 seconds to finish
2019-12-15 00:25:44,607 INFO - TEAMCENTER-1 Step-5 :1 Click on the Related Datasets tab took 1 seconds to finish
2019-12-15 00:25:46,941 INFO - TEAMCENTER-1 Step-6 :2 Click on the download document icon took 2 seconds to finish
---------------------------------------
SCENARIO-OK; Everything went okay
TEAMCENTER-1 OK: Processes completed after 36 seconds; TEAMCENTER-1 RUNTIME-OK ; runTime = 36s
TEAMCENTER-1 OK: Step 3: Clicking on the magnifying icon and wait for the results to appear took 3 seconds to finish; TEAMCENTER-1 STEP-OK ; stepTime = 3s
---------------------------------------

Re: How to parse the following output for LOG dashboard view

Posted: Mon Feb 10, 2020 7:23 pm
by Box293
So this sounds like you are dealing with multi-line logs which you want captured as one. This is going to require configuration on the client and Nagios Log Server. Depending if your client is Windows or Linux the following documentation can be used to understand how to set this up:

https://support.nagios.com/kb/article/n ... g-727.html
https://support.nagios.com/kb/article/n ... s-546.html