When trying to access saved-searches from python request, not giving actual no of saved searches, many saved searches are missing.
| rest servicesNS/-/-/saved/searches
While accessing the above command from a search bar giving the correct result.
Why are some saved searches not showing while accessing through python requests module? ( I'm accessing with same URL and same user.)
Hi,
Can you try something like this:
| rest servicesNS/-/-/saved/searches splunk_server=local
Also refer this docs:
http://dev.splunk.com/view/python-sdk/SP-CAAAEK2
I also tried this, but when I try it with search it is giving 138 result, but when I try with python I'm getting 30 result. (138 looks correct).
Also look through this answer:
https://answers.splunk.com/answers/25431/inconsistency-between-splunk-api-vs-gui-search-results.html