Splunk Search

How to get List of realtime searches and the macro/savedSearch that runs on it

paramagurukarth
Builder

I am new to splunk...
How to get List of realtime searches and the macro/savedSearch that runs on it?
Is there any splunk query command or index from which i can get required information..

Tags (1)
0 Karma
1 Solution

MuS
Legend

Hi paramagurukarthikeyan,

try this from the search bar:

| rest /services/search/jobs | search eventSorting=realtime

cheers, MuS

View solution in original post

jpapp
New Member
| rest /servicesNS/-/-/search/jobs splunk_server=local | search eventSorting=realtime 

Works for me in Splunk 6.5

| rest /servicesNS/-/-/search/jobs | search eventSorting=realtime

Works for me on Splunk 6.5

0 Karma

MuS
Legend

Hi paramagurukarthikeyan,

try this from the search bar:

| rest /services/search/jobs | search eventSorting=realtime

cheers, MuS

phoenixdigital
Builder

Anyone know how to do this on the latest version of Splunk 6.x?

This doesn't appear to work anymore.

0 Karma

MuS
Legend

Hi @phoenixdigital, what exactly are you after? The REST call still works in 6.4.1

0 Karma

phoenixdigital
Builder

I was trying to get a list of all saved searches that would use a realtime search.

Maybe because I am using a clustered search head the results are not consistent.

0 Karma

paramagurukarth
Builder

Thank you Michael... This is what i was looking for 🙂

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...