Hi Everyone,
Please help me with my below query.
Sample Logs:-
I want my table to look like as below-
Thank you in advance!
Hi
you could try this
....
| rex "Engine (?<ApplicationName>[^\s]+) (started|terminating)"
| stats earliest(_time) as StartDate latest(_time) as EndDate by ApplicationName
This assume that there is only one start and end for any application. If there is more then you need to update this or use eg. transaction command. The depends on your data and how much you have it.
r. Ismo
Thank you for your quick response. It works now