Getting Data In

Splunk API output

New Member

When I try the api endpoint curl -k -u username:passwd https://localhost:8089/servicesNS/admin/search/search/jobs/export -d search='search sourcetype=bcoat_proxy, cs_username="username", cs_host=""' -d output_mode=json
I am able to get output for the above with the specific username but when I try the same endpoint and data with python requests (POST) or pycurl(POST) I am not getting cs_username in the output but everything else is available.

Has someone gone through a similar issue?

Thanks in advance!

0 Karma
Get Updates on the Splunk Community!

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

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

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...