All Apps and Add-ons

How to monitor localhost thru REST API Modular Input for Splunk?

mavrodiev
New Member

Hi All,

I am trying to monitor the output of localhost thru REST API Modular Input of Splunk.

http://localhost:8888/services/health

Purpose is to have the health check results shown in JSON format. Screenshot from Postman:
{
"BPS": {
"healthy": false,
"message": "Inactive RMI HTTP service(s) : [/BatchExecutionService], [/BusinessExecutionService], [/ChannelDataLookupService], [/RobotExecutionService], [/WebBusinessExecutionService], [/WebExternalExecutionService]. (503)"
}
}

Once the results are shown on SPlunk, I will configure an alert in case healthy state is different that READY. There are more than 20 hosts consolidated into a single index and they are communicating with central server via SplunkUniversalForwarders.
Currently I am testing the scenario locally on my own laptop with local instnace of Splunk and application is running also on my box.

Do you have any ideas if this scenario is possible for impementation?

Cheers,
Konstantin

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...