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!

From Alert to Resolution: How Splunk Observability Helps SREs Navigate Critical ...

It's 3:17 AM, and your phone buzzes with an urgent alert. Wire transfer processing times have spiked, and ...

ATTENTION!! We’re MOVING (not really)

Hey, all! In an effort to keep this Slack workspace secure and also to make our new members' experience easy, ...

Splunk Admins: Build a Smarter Stack with These Must-See .conf25 Sessions

  Whether you're running a complex Splunk deployment or just getting your bearings as a new admin, .conf25 ...