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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...