Monitoring Splunk

Monitor Splunk

taka
Explorer

I want to monitor Splunk Enterprise in a cluster environment. I monitor the Splunk infrastructure with Newrelic, and I also want to use the DMC health check item.

Where can I get the health check item other than by updating it? Also, please let me know if there are any other ways to monitor Splunk.

Labels (1)
0 Karma
1 Solution

deepakc
Builder

You can start by having a look at the many API's endpoints available for the aspects of Splunk, and yes we mainly use the monitoring console for cluster -checks and health + others - which uses API's for checks

Have a look at the below API endpoints, as a starting point. 

#Cluster Specific 
https://docs.splunk.com/Documentation/Splunk/9.0.2/RESTREF/RESTcluster#cluster.2Fmanager.2Fhealth 

 

 #Other API endpoints 

https://docs.splunk.com/Documentation/Splunk/9.0.2/RESTREF/RESTlist#MLOC 

View solution in original post

taka
Explorer

Hello deepakc

Thank you for your immediate reply!
Do you have any prerequisites or concerns when implementing monitoring of that API endpoint?

0 Karma

deepakc
Builder

These would come to mind first - there's plenty more, you can explore the others and use them as you as you see fit. 

1. Check the overall health

/services/cluster/manager/health

2. Check Cluster Status of the peers (Indexers

/services/cluster/manager/peers

3. Check the indexing status

/services/cluster/manager/indexes

4. Check the Replication and Search Factor status

/services/cluster/manager/status

You can also check the CM's resources (CPU/MEM etc)
5. Check Resource Utilisation on the CM

/services/server/status/resource-usage/hostwide

 

deepakc
Builder

You can start by having a look at the many API's endpoints available for the aspects of Splunk, and yes we mainly use the monitoring console for cluster -checks and health + others - which uses API's for checks

Have a look at the below API endpoints, as a starting point. 

#Cluster Specific 
https://docs.splunk.com/Documentation/Splunk/9.0.2/RESTREF/RESTcluster#cluster.2Fmanager.2Fhealth 

 

 #Other API endpoints 

https://docs.splunk.com/Documentation/Splunk/9.0.2/RESTREF/RESTlist#MLOC 

deepakc
Builder

I forgot to mention in terms of pre-reqs: 

1. Newrelic should have some way of using API calls, you can use Splunk Tokens for API use and as a way of authentication  - see below link for info 

https://docs.splunk.com/Documentation/Splunk/9.2.1/Security/CreateAuthTokens  

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...