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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...