Quantcast
Channel: Latest Questions on Splunk Answers
Viewing all articles
Browse latest Browse all 13053

REST API Modular Input - How to setup new data input?

$
0
0

Hi All,

I'm looking to use REST API Modular Input to query a REST data source and populate returned data into Splunk.

From command line using curl, I would use the following two commands to login and query the required data:

curl -X POST -k h t t p s://mysite/dt-rest/v100/system/login -d “domain=MYDOMAIN&user=joe&pw=bloggs” -D headers.out -c cookies.txt

curl -X POST –header “Content-Type:application/xml” -k h t t p s://mysite/dt-rest/v100/reporting/manager/concurrentusersreport -d “2013-10-01T12:00:00.000Z2013-10-31T12:00:00.000Z” -D headers.out -b cookies.txt

I’m unsure how to populate the new REST input screen (in particular the Authentication Type field) to setup a new REST API Modular Input.

Thanks in advance – Mahesh


Viewing all articles
Browse latest Browse all 13053

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>