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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...