<?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 to I find my ACCESS_TOKEN for the REST API? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-I-find-my-ACCESS-TOKEN-for-the-REST-API/m-p/76416#M15591</link>
    <description>&lt;P&gt;How to I find my ACCESS_TOKEN to use the REST API?&lt;/P&gt;</description>
    <pubDate>Mon, 01 Oct 2012 15:37:26 GMT</pubDate>
    <dc:creator>tashburn</dc:creator>
    <dc:date>2012-10-01T15:37:26Z</dc:date>
    <item>
      <title>How to I find my ACCESS_TOKEN for the REST API?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-I-find-my-ACCESS-TOKEN-for-the-REST-API/m-p/76416#M15591</link>
      <description>&lt;P&gt;How to I find my ACCESS_TOKEN to use the REST API?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2012 15:37:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-I-find-my-ACCESS-TOKEN-for-the-REST-API/m-p/76416#M15591</guid>
      <dc:creator>tashburn</dc:creator>
      <dc:date>2012-10-01T15:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to I find my ACCESS_TOKEN for the REST API?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-I-find-my-ACCESS-TOKEN-for-the-REST-API/m-p/76417#M15592</link>
      <description>&lt;P&gt;@tashburn,  I guessing your tying to use the HTTP Header method of authenticating with Splunkd. Your  access-token is your session key which can be used against the API, which can be retieved from the /services/auth/login and will be a long string of hexadecimal chars.   &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
curl -k -u &amp;lt;user&amp;gt;:&amp;lt;passw&amp;gt; &lt;A href="https://&amp;lt;splunkd&amp;gt;:8089/services/auth/login" target="test_blank"&gt;https://&amp;lt;splunkd&amp;gt;:8089/services/auth/login&lt;/A&gt; \ -d username=&amp;lt;user&amp;gt; -d password=&amp;lt;passw&amp;gt; &lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
&amp;lt;response&amp;gt;&lt;BR /&gt;
  &amp;lt;sessionKey&amp;gt;##someHexdecimalNumber##&amp;lt;/sessionKey&amp;gt;&lt;BR /&gt;
&amp;lt;/response&amp;gt;&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;Additional info:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTaccess#auth.2Flogin"&gt;auth/login&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/SP-CAAADP8"&gt;REST API Overview - Auth Methods&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTusing#Authentication"&gt;Authentication&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2012 21:52:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-I-find-my-ACCESS-TOKEN-for-the-REST-API/m-p/76417#M15592</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2012-10-01T21:52:11Z</dc:date>
    </item>
  </channel>
</rss>

