<?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: REST API Modular Input - 401 Client Unauthorized in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-Modular-Input-401-Client-Unauthorized/m-p/438957#M76526</link>
    <description>&lt;P&gt;@joseft, If your problem is resolved, please accept the answer to help future readers.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Sep 2018 11:40:34 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2018-09-05T11:40:34Z</dc:date>
    <item>
      <title>REST API Modular Input - 401 Client Unauthorized</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-Modular-Input-401-Client-Unauthorized/m-p/438954#M76523</link>
      <description>&lt;P&gt;I am trying to access Carbon Black via The REST API. As expected, this works in Postman:&lt;BR /&gt;
Console Output (keys and tokens changed):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;GET
&lt;A href="https://api-prod06.conferdeploy.net/integrationServices/v3/event/" target="test_blank"&gt;https://api-prod06.conferdeploy.net/integrationServices/v3/event/&lt;/A&gt;
Proxy:
host:"127.0.0.1"
port:9000
match:"http+https://*/*"
Request Headers:
x-auth-token:"CYLVZZZZZZZZZZZZZ/3IZNXXXX"
cache-control:"no-cache"
postman-token:"c092b323-fc8e-4c1d-9a6d-c6f042000000"
user-agent:"PostmanRuntime/7.2.0"
accept:"*/*"
host:"api-prod06.conferdeploy.net"
cookie:"__cfduid=ddfebf41ad8fce5ba32a3bd7b71e891e61535000000"
accept-encoding:"gzip, deflate"
Response Headers:
content-type:"application/json;charset=ISO-8859-1"
date:"Mon, 03 Sep 2018 09:21:47 GMT"
server:"Apache-Coyote/1.1"
content-length:"491061"
connection:"Close"
Response Body:
200
590 ms
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It starts off OK&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5701i81D9FFD7B4DE8238/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;And then crashes out with a 401 error.&lt;/P&gt;

&lt;P&gt;Any help would be appreciated.&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 10:02:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-API-Modular-Input-401-Client-Unauthorized/m-p/438954#M76523</guid>
      <dc:creator>joseft</dc:creator>
      <dc:date>2018-09-03T10:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Modular Input - 401 Client Unauthorized</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-Modular-Input-401-Client-Unauthorized/m-p/438955#M76524</link>
      <description>&lt;P&gt;I found it. In Carbon Black, the api key has its own whitelist. You have to have the Splunk server ip whitelisted in Carbon Black for the key to work.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 10:58:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-API-Modular-Input-401-Client-Unauthorized/m-p/438955#M76524</guid>
      <dc:creator>joseft</dc:creator>
      <dc:date>2018-09-05T10:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Modular Input - 401 Client Unauthorized</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-Modular-Input-401-Client-Unauthorized/m-p/438956#M76525</link>
      <description>&lt;P&gt;I found it. In Carbon Black, the api key has its own whitelist. You have to have the Splunk server ip whitelisted in Carbon Black for the key to work.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 10:58:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-API-Modular-Input-401-Client-Unauthorized/m-p/438956#M76525</guid>
      <dc:creator>joseft</dc:creator>
      <dc:date>2018-09-05T10:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Modular Input - 401 Client Unauthorized</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-Modular-Input-401-Client-Unauthorized/m-p/438957#M76526</link>
      <description>&lt;P&gt;@joseft, If your problem is resolved, please accept the answer to help future readers.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 11:40:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-API-Modular-Input-401-Client-Unauthorized/m-p/438957#M76526</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-09-05T11:40:34Z</dc:date>
    </item>
  </channel>
</rss>

