Splunk Search

use case - Long running search query

inventsekar
Ultra Champion

Hi, For a testing purposes, can i have few long running search SPL queries please.
Using the search tutorials sample data would be of great help.
I assume subsearches, join would be good fit for long running searches. Can you pls write some simple/basic long running SPL queries. Thx

Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi inventsekar,
use transaction and join: you'll surely have long running searches!
If you aren't still satisfied, extend the time period.
e.g.:

index=wineventlog 
| transaction ID_accesso
| join host [ search index=_internal ]

(sorry for the fieldname in italian, I have only this one!)

Bye.
Giuseppe

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 ...