Please help me with my below query.
I want my table to look like as below-
Thank you in advance!
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.
Thank you for your quick response. It works now