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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...