There is a search endpoint on Splunk for running searches remotely via the REST API and stream back the search results as they become available (search/v2/jobs/export). There also is a restcommand...
...ning searches?
Q2. Do I need to pass this result to script and call RESTcommand to Splunkd to stop the running searches? If yes, what is the RESTcommand to stop the searches?
Please do the needful.
I receive the following error while trying to execute a simple "makeresults" command by using REST API call: Used endpoint: https://localhost:8089/servicesNS/nobody/myapp/search/jobs Search e...
I am working with Splunk's rest API. I have to make a post request to Splunk and get some data from a dbxquery. I tried using the following curl command but got an error stating dbxquery is an u...
...rom, so in the meantime I have to dedup the results.
index=index1 sourcetype=dataset1 | dedup data_id | table column_1, column_2, column_3
My question is, is there a way to run the dedup command...
...bout the search For example, for the first search_id I want to call: | rest services/search/jobs/1604617764.7885_5E002618-3E1F-491E-88C9-516508A9DB66 splunk_server=local Since | rest is a generating command...
Hi Team,
I am getting an error message "Request failed: Session is not logged in." when trying to runrest apis from python script.
Curl command works fine, it generates the session key as well i...
I'm trying to capture index disk utilization to a summary index using a restcommand. The command is something like:
|rest /services/data/indexes |table splunk_server,title,currentDBSizeMB
T...
I have a HF that was recently expanded in terms of its RAM capacity. Ever since, there has been an issue with RESTcommands off specific endpoint. Example: | rest splunk_server=splunk-hf1 /s...