Dashboards & Visualizations

Table creation without extraction fields

aurora5
Explorer

Hi Everyone,

Please help me with my below query.

Sample Logs:-

aurora5_2-1622606366701.png

 

I want my table to look like as below-

aurora5_3-1622606423057.png

Thank you in advance!

Labels (1)
0 Karma
1 Solution

aurora5
Explorer

Thank you for your quick response. It works now

View solution in original post

0 Karma

isoutamo
SplunkTrust
SplunkTrust

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 

0 Karma

aurora5
Explorer

Thank you for your quick response. It works now

0 Karma

aurora5
Explorer

aurora5_0-1622612489489.png

 

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust
@aurora5
Can you please share _raw sample logs?
0 Karma
Get Updates on the Splunk Community!

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

October 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Splunk Education Goes to Washington | Splunk GovSummit 2024

If you’re in the Washington, D.C. area, this is your opportunity to take your career and Splunk skills to the ...