Getting Data In

/services or /servicesNS in REST API

rolyrolex
Path Finder

Hello !

Can someone tell methe difference between   /services    and   /servicesNS    when using the Splunk REST API please ? 

 

Labels (1)

rolyrolex
Path Finder

but it's the user before the app. 

serviceNS/<user>/ <app>.

rolyrolex
Path Finder

Thank you very much @tscroggins 

tscroggins
Influencer

@rolyrolex 

/services uses the current app and user context.

/servicesNS allows you to specify the app and user context--the namespace--with /servicesNS/<app>/<user> or /servicesNS/-/- for all apps and all users.

Namespaces and /servicesNS are documented in more detail here: https://docs.splunk.com/Documentation/Splunk/latest/RESTUM/RESTusing#Namespace

Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...