Hi,
I try to do a search with Splunk REST API from a C# client.
I need to search some general term but I need to specify some information like the host, index etc.
Here is my query:
url:
https:1.1.1.1:8089/services/search/jobs
Args in request body:
search=search SOMETERMTOSEARCH host=HOSTNAMETOSEARCHWITHIN
Right now, it work if I specificy only the SOMETERMTOSEARCH. If I add the host=HOSTNAMETOSEARCHWITHIN, Splunk truncated it to search=search SOMETERMTOSEARCH host=. Same thing if I add index=MYINDEXNAME.
How can I specify these extra parameters?
i try to add them as arguments like earliest_time or latest_time but it's not work either.
Can someone help me?
... View more