<?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 How can a non admin user have REST API Access in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/How-can-a-non-admin-user-have-REST-API-Access/m-p/583140#M8782</link>
    <description>&lt;P&gt;1. How can a non admin user access Splunk REST APIs?&lt;BR /&gt;2. After getting session key, search id and search status we are trying to get search results. But it is showing null.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;curl -u $user:$password -k&amp;nbsp;&lt;/SPAN&gt;&lt;A title="https://localhost:8089/servicesns/admin/search/search/jobs/sid/results/" href="https://localhost:8089/servicesNS/admin/search/search/jobs/sid/results/" target="_blank" rel="noopener noreferrer"&gt;https://localhost:8089/servicesNS/admin/search/search/jobs/sid/results/&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;--get&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Any comments are much appreciated.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Feb 2022 14:44:31 GMT</pubDate>
    <dc:creator>Mounika</dc:creator>
    <dc:date>2022-02-10T14:44:31Z</dc:date>
    <item>
      <title>How can a non admin user have REST API Access</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-can-a-non-admin-user-have-REST-API-Access/m-p/583140#M8782</link>
      <description>&lt;P&gt;1. How can a non admin user access Splunk REST APIs?&lt;BR /&gt;2. After getting session key, search id and search status we are trying to get search results. But it is showing null.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;curl -u $user:$password -k&amp;nbsp;&lt;/SPAN&gt;&lt;A title="https://localhost:8089/servicesns/admin/search/search/jobs/sid/results/" href="https://localhost:8089/servicesNS/admin/search/search/jobs/sid/results/" target="_blank" rel="noopener noreferrer"&gt;https://localhost:8089/servicesNS/admin/search/search/jobs/sid/results/&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;--get&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Any comments are much appreciated.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 14:44:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-can-a-non-admin-user-have-REST-API-Access/m-p/583140#M8782</guid>
      <dc:creator>Mounika</dc:creator>
      <dc:date>2022-02-10T14:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Access</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-can-a-non-admin-user-have-REST-API-Access/m-p/584444#M8791</link>
      <description>&lt;P&gt;You are trying to access the search result that has is generated by Admin.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="https://localhost:8089/servicesns/admin/search/search/jobs/sid/results/" href="https://localhost:8089/servicesNS/admin/search/search/jobs/sid/results/" target="_blank" rel="noopener noreferrer nofollow"&gt;https://localhost:8089/servicesNS/admin/search/search/jobs/sid/results/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here - admin is the user who owns the search job&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - The first "search" is the App name which has access (can be accessible if the job is global or reside within search app)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if the search job is owned by an admin user you cannot access it with other users.&lt;/P&gt;&lt;P&gt;If the job is accessible by other users then change the username in the URL with a hyphen(-) and give it a try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In general REST API is accessible to all users, it all comes to down to what objects that user has permission to.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 06:34:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-can-a-non-admin-user-have-REST-API-Access/m-p/584444#M8791</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-02-10T06:34:02Z</dc:date>
    </item>
  </channel>
</rss>

