All Apps and Add-ons

How to invoke post request to REST service configured using REST API Modular input

cse9423
Explorer

I have configured the REST data input for my rest webservice and i was able to call the get request easily (index=main sourcetype=myrestoperation_configured_at_datainput). I also have post method which takes json input. how do i invoke post rest request from splunk query? I appreciate any help.

Tags (1)
0 Karma

kitwalker12
Engager

@cse9423 were you able to invoke the webservice

0 Karma

Damien_Dallimor
Ultra Champion

alt text

cse9423
Explorer

Thanks Damien for your reply.

I have already done this. How do i pass json input to post webservice from splunk query?

The splunk query for get: index=main sourcetype=getrequest ---> work fine

i am looking for post: index=main sourcetype=postrequest ---> how do i pass json input here??

0 Karma
Get Updates on the Splunk Community!

Application management with Targeted Application Install for Victoria Experience

  Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...

Index This | What goes up and never comes down?

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

Splunkers, Pack Your Bags: Why Cisco Live EMEA is Your Next Big Destination

The Power of Two: Splunk + Cisco at "Ludicrous Scale"   You know Splunk. You know Cisco. But have you seen ...