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!

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...

Exporting Splunk Apps

Join us on Monday, October 21 at 11 am PT | 2 pm ET!With the app export functionality, app developers and ...

[Coming Soon] Splunk Observability Cloud - Enhanced navigation with a modern look and ...

We are excited to introduce our enhanced UI that brings together AppDynamics and Splunk Observability. This is ...