<?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 REST API in custom command in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-in-custom-command/m-p/146870#M29932</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I would like to implement a new command to do operations with kvstorage, with my own Python script.&lt;BR /&gt;
How can I use REST API (get the Session Key) inside my custom command?&lt;/P&gt;</description>
    <pubDate>Mon, 08 Dec 2014 11:38:34 GMT</pubDate>
    <dc:creator>lukasz92</dc:creator>
    <dc:date>2014-12-08T11:38:34Z</dc:date>
    <item>
      <title>REST API in custom command</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-in-custom-command/m-p/146870#M29932</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I would like to implement a new command to do operations with kvstorage, with my own Python script.&lt;BR /&gt;
How can I use REST API (get the Session Key) inside my custom command?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2014 11:38:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-API-in-custom-command/m-p/146870#M29932</guid>
      <dc:creator>lukasz92</dc:creator>
      <dc:date>2014-12-08T11:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: REST API in custom command</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-in-custom-command/m-p/146871#M29933</link>
      <description>&lt;P&gt;OK, found it.&lt;/P&gt;

&lt;P&gt;Example is in etc/apps/search/bin/input.py&lt;BR /&gt;
And one have to add passauth = true to commands.conf&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2014 11:50:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-API-in-custom-command/m-p/146871#M29933</guid>
      <dc:creator>lukasz92</dc:creator>
      <dc:date>2014-12-08T11:50:21Z</dc:date>
    </item>
  </channel>
</rss>

