<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Difference between Splunk rest api services and servicesNS? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Difference-between-Splunk-rest-api-services-and-servicesNS/m-p/464180#M80040</link>
    <description>&lt;P&gt;&lt;CODE&gt;servicesNS&lt;/CODE&gt; limits its scope to the specified namespace (username and app).  It can apply to all namespaces by specifying &lt;CODE&gt;-&lt;/CODE&gt; as the user and app names.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Mar 2020 12:34:36 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-03-30T12:34:36Z</dc:date>
    <item>
      <title>Difference between Splunk rest api services and servicesNS?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Difference-between-Splunk-rest-api-services-and-servicesNS/m-p/464179#M80039</link>
      <description>&lt;P&gt;What is the difference between services and servicesNS in splunk rest api. Can someone explain it in detail?&lt;BR /&gt;
Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 11:39:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Difference-between-Splunk-rest-api-services-and-servicesNS/m-p/464179#M80039</guid>
      <dc:creator>Vinesh93</dc:creator>
      <dc:date>2020-03-30T11:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Splunk rest api services and servicesNS?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Difference-between-Splunk-rest-api-services-and-servicesNS/m-p/464180#M80040</link>
      <description>&lt;P&gt;&lt;CODE&gt;servicesNS&lt;/CODE&gt; limits its scope to the specified namespace (username and app).  It can apply to all namespaces by specifying &lt;CODE&gt;-&lt;/CODE&gt; as the user and app names.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 12:34:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Difference-between-Splunk-rest-api-services-and-servicesNS/m-p/464180#M80040</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-03-30T12:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Splunk rest api services and servicesNS?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Difference-between-Splunk-rest-api-services-and-servicesNS/m-p/464181#M80041</link>
      <description>&lt;P&gt;I agree with Rich, please see &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.2/RESTUM/RESTusing"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.2/RESTUM/RESTusing&lt;/A&gt; for more details.  There is a "NAMESPACE" section.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 12:44:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Difference-between-Splunk-rest-api-services-and-servicesNS/m-p/464181#M80041</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-03-30T12:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Splunk rest api services and servicesNS?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Difference-between-Splunk-rest-api-services-and-servicesNS/m-p/575792#M101782</link>
      <description>&lt;P&gt;I disagree. Reading Rich’s answer would lead you to believe that “&lt;STRONG&gt;| rest /servicesNS&lt;/STRONG&gt;” is more restrictive than “&lt;STRONG&gt;| rest /services&lt;/STRONG&gt;” by limiting the scope to the specified namespace. In fact, it is the other way around.&lt;/P&gt;&lt;P&gt;Or, more precisely, “&lt;STRONG&gt;| rest /services&lt;/STRONG&gt;” is equivalent to “&lt;STRONG&gt;| rest /servicesNS/&lt;/STRONG&gt;&amp;lt;currentUser&amp;gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&amp;lt;defaultApp&amp;gt;”, which implicitly limits the results to what is visible from the current user running in the default app context, which is usually the search app.&lt;/P&gt;&lt;P&gt;We can expand the namespace to include more results by converting the call to “&lt;STRONG&gt;| rest /servicesNS/-/-&lt;/STRONG&gt;“, or we can change the namespace to an explicit user/app context with “&lt;STRONG&gt;| rest /servicesNS/&lt;/STRONG&gt;&amp;lt;arbitraryUser&amp;gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&amp;lt;arbitraryApp&amp;gt;”.&lt;/P&gt;&lt;P&gt;It is a subtle but important difference. For some global system-wide resources, the results will be the same from every user/app context. In those cases, the call is usually shortened from “&lt;STRONG&gt;| rest /servicesNS/-/-&lt;/STRONG&gt;” to “&lt;STRONG&gt;| rest /services&lt;/STRONG&gt;”.&lt;BR /&gt;&lt;BR /&gt;So, every time I see “&lt;STRONG&gt;| rest /services&lt;/STRONG&gt;”, I translate that in my head to be “&lt;STRONG&gt;| rest /servicesNS/&lt;/STRONG&gt;&amp;lt;currentUser&amp;gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&amp;lt;defaultApp&amp;gt;”&lt;/P&gt;</description>
      <pubDate>Sun, 21 Nov 2021 15:36:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Difference-between-Splunk-rest-api-services-and-servicesNS/m-p/575792#M101782</guid>
      <dc:creator>bayuste</dc:creator>
      <dc:date>2021-11-21T15:36:03Z</dc:date>
    </item>
  </channel>
</rss>

