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!

Exciting News: The AppDynamics Community Joins Splunk!

Hello Splunkers,   I’d like to introduce myself—I’m Ryan, the former AppDynamics Community Manager, and I’m ...

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...