I'm looking for a basic heartbeat or healthcheck for search head status, in order to put behind a load balancer.
This should not require authentication.
The closest thing I've found is in the REST...
...earch job returned a list of all the jobs in the search head.
The code (JavaScript) is in this public repository: https://github.com/ww9rivers/splunk-rest-search
Am I missing anything? Thank you for y...
Hello, I do success to disable/enable tokens using the WEB interface. But curl command fails while trying to disable token using REST API. Executing GET method works OK: curl -k...
Planning to use search head clustering and we need the ability to check search head cluster status by REST API call. Please advise if there is a capability to do so or if this will be coming in t...
Hi All,
I am using the Splunk REST API (mainly search, savedsearch endpoints) to get data out of Splunk.
Currently I am trying to do the following:
Create a saved search
Dispatch said s...
...RI path provided exists in the REST API.
When I run it on the CM, I get this error:
Unexpected status for to fetch REST endpoint uri=https://127.0.0.1:8089/services/cluster/master/peers?count=0 f...
Hi Community,
I'm trying to extract search results using REST API and I'm facing the following problem.
1. I'm using the curl command: curl --location --request POST 'https://XXXXXX/services/s...
...registered_summary_state:3
restart_state:NoRestart
site:default
status:Up
/opt/splunk/etc/master-apps/_cluster/local/indexes.conf on CM (successfully replicated to peers via /o...
...he forwarder. I assume this will not give us the ability to read the REST endpoint https://hostname:8089/services/admin/inputstatus/TailingProcessor%3AFileStatus. Are there any other ways to gather t...
Hi,
We have a Splunk app which exposes a REST end point for other application to request metrics.
The main piece of python code inside the method is:
service = self.getService()
s...