Getting Data In

Splunk rest post command

lukasz92
Communicator

Hello,

I need to process some REST requests within Splunk, with functions that rest command provides me (for example splunk_server_group filtering). I have what I need when I do GET requests, but is it possible to do POST requests in that way?

To be simpler - I need for the "rest" Splunk command to support POST requests too.

Is it possible?

0 Karma

livehybrid
Builder

Unfortunately the in-built rest command only supports GET requests.
If you want to just trigger an action then the POST Workflow actions may probably help, however if you're wanting to use the data returned from the POST then you're going to need something a little more bespoke, a simple Python modular input might help?

0 Karma

deepashri_123
Motivator
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...