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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...