Splunk Search

How to use the REST API to run a multisearch and stream the results back?

arunslal
Loves-to-Learn Lots

Hi,

I am able to run normal search using rest API using below syntax:

 

https://SearchHead_host:8089/servicesNS/admin/search/search/jobs/export -d search=“search index%3D_internal | head 3” -d output_mode=csv/xml/json

 

But when I use a "MULTISEARCH" query, the search doesn't show any results.

Does anyone know how to overcome this?

Thanks,

Arun

Labels (1)
Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Have you run the multisearch query from the GUI to verify it works?

---
If this reply helps you, Karma would be appreciated.
0 Karma

arunslal
Loves-to-Learn Lots

Hi, yes. UI returns results on screen.

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