Getting Data In

How to fetch data through dynamic calls in REST API Loop?

lubinak
Engager

How do I fetch data through dynamic calls in REST API - Loop

Example:

The script will first run on the APi.json, to fetch all projects id,
post that it will loop in to fetch roles for each project.

IngmarVis
Engager

You can use REST API Modular input for this, with token substitution:

https://splunkbase.splunk.com/app/1546/#/details

We are also facing challenges using this mechanism, but i have seen it work so i'm sure this is the way to go. If someone has more details on their implementation, please let us know.

0 Karma
Get Updates on the Splunk Community!

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...