Splunk Search

How do I correct error "Error in 'rest' command: Invalid argument: '/services/server/info' "?

lessthan80
Explorer

I've recently installed splunk 6.5.1 on windows 2008 R2. I've also enabled 'Health Check' in Monitoring Console, but any Health Check search that includes something like "| rest $rest_scope$ /services/server/info " fails with -- Error in 'rest' command: Invalid argument: '/services/server/info' --
I am unable to locate any directory called /services. Where can I get this configured?

0 Karma

adonio
Ultra Champion

Hi lessthan80,
the $rest_scope$ is a token you can get results with just the command | rest /services/server/info for example.
this document will elaborate and explain in full http://docs.splunk.com/Documentation/Splunk/6.5.2/DMC/Customizehealthcheck

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 ...