Has been busy for "639" seconds
using rex command i need to extract value 639 and store it in one field.
Please help !!!
Try this:
... | rex "busy for \"(?<one>\d+)" | ...
Hi
Try this
| makeresults
| eval msg ="busy for \"639\" seconds"
| rex field=msg "\"(?P<seconds>[\d]+)\""
Try this:
... | rex "busy for \"(?<one>\d+)" | ...
Thank you very much for the resolution. Works perfectly 🙂