Text Log: how to extract substring?

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
vrapp
Posts: 1
Joined: Mon Jun 03, 2013 7:47 am

Text Log: how to extract substring?

Post by vrapp »

I create text log test, which is looking for new lines containing the following:

11/29/2011, 11:34:11] [WARNING] "The agent workstation registered to server, but cannot be contacted by the server.

where workstation is the name of the problematic workstation. I want to configure the action "restart service" that will restart certain service on workstation. How to extract workstation from the event?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

You may setup "Filter" in "Text Log test properties" dialog:
display word # 6
And use %Reply% variable in Restart Service action.
Post Reply