<?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: I'm able to log to the web UI but cannot access REST API in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/I-m-able-to-log-to-the-web-UI-but-cannot-access-REST-API/m-p/377145#M68243</link>
    <description>&lt;P&gt;Change the password and give it a try . I believe you are using same password as GUI &lt;/P&gt;</description>
    <pubDate>Wed, 19 Sep 2018 13:43:36 GMT</pubDate>
    <dc:creator>ssadanala1</dc:creator>
    <dc:date>2018-09-19T13:43:36Z</dc:date>
    <item>
      <title>I'm able to log to the web UI but cannot access REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-m-able-to-log-to-the-web-UI-but-cannot-access-REST-API/m-p/377144#M68242</link>
      <description>&lt;P&gt;I have a Splunk Enterprise license and I have an admin user who can login via the web UI : &lt;CODE&gt;&lt;A href="http://localhost:8000/en-US/app/" target="test_blank"&gt;http://localhost:8000/en-US/app/&lt;/A&gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This user also has the required user role which allows REST API access. I have also restarted the Splunk service a few times.&lt;/P&gt;

&lt;P&gt;I still cannot login via the REST API&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -k &lt;A href="https://localhost:8089/services/auth/login" target="test_blank"&gt;https://localhost:8089/services/auth/login&lt;/A&gt; --data-urlencode username=admin --data-urlencode password=splunklocal
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed
100   164  100   129  100    35    686    186 --:--:-- --:--:-- --:--:--   872&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;response&amp;gt;
  &amp;lt;messages&amp;gt;
    &amp;lt;msg type="WARN"&amp;gt;Login failed&amp;lt;/msg&amp;gt;
  &amp;lt;/messages&amp;gt;
&amp;lt;/response&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note that this is on windows 10 - my colleague installed splunk on windows 7 and everthing worked fine&lt;/P&gt;

&lt;P&gt;Splunk Enterprise Version: 7.1.3&lt;BR /&gt;
Build: 51d9cac7b837&lt;/P&gt;

&lt;P&gt;Any help would be very much appreciated!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 14:46:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-m-able-to-log-to-the-web-UI-but-cannot-access-REST-API/m-p/377144#M68242</guid>
      <dc:creator>wheresvic</dc:creator>
      <dc:date>2018-09-18T14:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: I'm able to log to the web UI but cannot access REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-m-able-to-log-to-the-web-UI-but-cannot-access-REST-API/m-p/377145#M68243</link>
      <description>&lt;P&gt;Change the password and give it a try . I believe you are using same password as GUI &lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 13:43:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-m-able-to-log-to-the-web-UI-but-cannot-access-REST-API/m-p/377145#M68243</guid>
      <dc:creator>ssadanala1</dc:creator>
      <dc:date>2018-09-19T13:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: I'm able to log to the web UI but cannot access REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-m-able-to-log-to-the-web-UI-but-cannot-access-REST-API/m-p/377146#M68244</link>
      <description>&lt;P&gt;I tried that as well - no luck &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;curl -u admin:splunklocal -k &lt;A href="https://localhost:8089/services/auth/login/" target="test_blank"&gt;https://localhost:8089/services/auth/login/&lt;/A&gt; -d"username=admin&amp;amp;password=splunklocal"&lt;/CODE&gt; returns &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
 &amp;lt;response&amp;gt;
  &amp;lt;messages&amp;gt;
    &amp;lt;msg type="WARN"&amp;gt;Login failed&amp;lt;/msg&amp;gt;
  &amp;lt;/messages&amp;gt;
&amp;lt;/response&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Sep 2018 14:10:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-m-able-to-log-to-the-web-UI-but-cannot-access-REST-API/m-p/377146#M68244</guid>
      <dc:creator>wheresvic</dc:creator>
      <dc:date>2018-09-19T14:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: I'm able to log to the web UI but cannot access REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-m-able-to-log-to-the-web-UI-but-cannot-access-REST-API/m-p/377147#M68245</link>
      <description>&lt;P&gt;Try like this, &lt;CODE&gt;curl -k -u admin:splunklocal &lt;A href="https://localhost:8089/services/auth/login/" target="test_blank"&gt;https://localhost:8089/services/auth/login/&lt;/A&gt; -d username=admin -d password=splunklocal&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 14:23:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-m-able-to-log-to-the-web-UI-but-cannot-access-REST-API/m-p/377147#M68245</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-09-19T14:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: I'm able to log to the web UI but cannot access REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-m-able-to-log-to-the-web-UI-but-cannot-access-REST-API/m-p/377148#M68246</link>
      <description>&lt;P&gt;Tried as you suggested, also no luck...&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 14:41:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-m-able-to-log-to-the-web-UI-but-cannot-access-REST-API/m-p/377148#M68246</guid>
      <dc:creator>wheresvic</dc:creator>
      <dc:date>2018-09-19T14:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: I'm able to log to the web UI but cannot access REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-m-able-to-log-to-the-web-UI-but-cannot-access-REST-API/m-p/377149#M68247</link>
      <description>&lt;P&gt;Any error in &lt;CODE&gt;$SPLUNK_HOME/var/log/splunk/splunkd.log&lt;/CODE&gt; ? I am able to run command which is given by me on Splunk 7.1.2 successfully.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 08:49:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-m-able-to-log-to-the-web-UI-but-cannot-access-REST-API/m-p/377149#M68247</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-09-21T08:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: I'm able to log to the web UI but cannot access REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-m-able-to-log-to-the-web-UI-but-cannot-access-REST-API/m-p/377150#M68248</link>
      <description>&lt;P&gt;Hi - no errors in &lt;CODE&gt;splunkd.log&lt;/CODE&gt; either. I know it is supposed to work but it just doesn't - this is very weird &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Sep 2018 08:34:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-m-able-to-log-to-the-web-UI-but-cannot-access-REST-API/m-p/377150#M68248</guid>
      <dc:creator>wheresvic</dc:creator>
      <dc:date>2018-09-24T08:34:01Z</dc:date>
    </item>
  </channel>
</rss>

