curl -k https://splunk_ip:8089/services/auth/login --data-urlencode username=admin --data-urlencode password=admin01!
curl -k -H "Authorization: Splunk 9d3zIppergQSjJ2C0TPV8PZghZ5fdvZz_GcVihhHLEdbpaZQAttQ10s^joWS_UpKvEbgM4ck9wtN_5wn5xbFZv04nAX9_nQEiVxcf3S" https://splunk_ip:8089/services/search/jobs/export -d search="search index=testsourcetype=test earliest_time=08/09/2021:10:00:00 latest_time=08/09/2021:11:00:59" -d output_mode="json"