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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...