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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...