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!

Get Operational Insights Quickly with Natural Language on the Splunk Platform

In today’s fast-paced digital world, turning data into actionable insights is essential for success. With ...

Stay Connected: Your Guide to August Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...

Unleash the Power of Splunk MCP and AI, Meet Us at .Conf 2025, and Find Even More New ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...