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
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...