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!

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...