I'm trying to get the number of hosts reporting to Splunk via API, but the a normal curl -k is only able to return 100 results.
I tried adding the "count=0" parameter, but it just gives me 100 and cannot go further.
My search strings below.
curl -u user:passwd -k https://XXXX:8089/services/search/jobs -d search="metadata%20type%3Dhosts"
url -u user:passwd -k https://XXXX:8089/services/search/jobs/md_1551723351.24391/results?output_mode=csv&count=0
Any help is appreciated