Splunk Search

Can Splunk perform multiple searches using a single request and return the results separately?

mj8909
New Member

I am querying Splunk REST API and wish to send multiple queries in a single POST request. Is it possible to get separate results for multiple searches using a single request?

For example, I have two queries say:
1. search index=apps | search appname=A| timechart span=1d app_count
2. search index=apps | search appname=B| timechart span=1d app_count

Instead of making two separate post requests, can I do it in a single request and get separate results?

0 Karma

tiagofbmm
Influencer

Well for your specific case I think it works.

You would get the timechart count by appname and then post process search it by filtering the app you want to see

0 Karma

tiagofbmm
Influencer

Please let me know if the answer was useful for you. If it was, accept it and upvote. If not, give us more input so we can help you with that

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...