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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...