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