Splunk Search

How to construct URL

pratapa
Explorer

How to construct the URL from the following curl command

/usr/bin/curl -s -k -u user1:passwd https://splunk.ce.corp:8089/servicesNS/monitor/wms/search/jobs/export -d "search=savedsearch %22WMOS%20%2d%20EW%20%2d%20Number%20of%20Allocation%20records%22" -d "output_mode=csv"

Any idea?

Tags (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

You have the URL in the curl command: https://splunk.ce.corp:8089/servicesNS/monitor/wms/search/jobs/export. The remaining text are data passed as part of the POST request.

You may find the REST User Manual useful. https://docs.splunk.com/Documentation/Splunk/7.3.3/RESTUM/RESTusing

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...

Enterprise Security Content Update (ESCU) | New Releases

In April, the Splunk Threat Research Team had 2 releases of new security content via the Enterprise Security ...