Hello Experts,Need help in writing the match expression that can fetch a particluar word/string from the output.For eg: The output of one script monitor is :value=tcp4 0 0 *.39606 *.* LISTENI want to capture just the end string "LISTEN".This output can change and instead of LISTEN it could be "MOUNTED" or something else.So how do i capture this using the Match Expression.Please guide.Thanks and RegardsUtkarsh
Go to Solution.
Try something like
It will capture last word in line - LISTEN, MOUNTED or whatever
The suggestion that you gave worked.
I created a script that would egrep two ports and using your pattern match i was able to display the end result of both the greps.
I later used a calculated metric to set a threshold to the values.
Thanks a lot...!!
Utkarsh, you are welcome!