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!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Enhance Security Operations with Automated Threat Analysis in the Splunk EcosystemAre you leveraging ...

Splunk Developers: Go Beyond the Dashboard with These .Conf25 Sessions

  Whether you’re building custom apps, diving into SPL2, or integrating AI and machine learning into your ...

Index This | How do you write 23 only using the number 2?

July 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...