Splunk Enterprise

Curl command app using Splunk, Api modular Input

vishaltaneja070
Motivator

Issue with Curl Splunk app, 

i have curl command not sure how to use it with Splunk curl app or api modular input. Tried lot of combination but didn't work out.
Can someone help with this please.

 

 

curl -L -X POST 'https://xyz.com/ui/api/token' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Cookie: abchdgshksjshskks' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id=ahsgshj-nshgsh-' \
--data-urlencode 'client_secret=shgshgs-jagjs-hshsh'

 

Labels (1)
Tags (1)
0 Karma
Get Updates on the Splunk Community!

ATTENTION!! We’re MOVING (not really)

Hey, all! In an effort to keep this Slack workspace secure and also to make our new members' experience easy, ...

Splunk Admins: Build a Smarter Stack with These Must-See .conf25 Sessions

  Whether you're running a complex Splunk deployment or just getting your bearings as a new admin, .conf25 ...

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...