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
Motivator

@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!

.conf23 | Get Your Cybersecurity Defense Analyst Certification in Vegas

We’re excited to announce a new Splunk certification exam being released at .conf23! If you’re going to Las ...

Starting With Observability: OpenTelemetry Best Practices

Tech Talk Starting With Observability: OpenTelemetry Best Practices Tuesday, October 17, 2023   |  11AM PST / ...

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW! Every day the list of sources Admins are responsible for gets bigger and bigger, often making ...