<?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: Whats the difference between splunklib.* and  splunk.Intersplunk in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Whats-the-difference-between-splunklib-and-splunk-Intersplunk/m-p/418483#M7308</link>
    <description>&lt;P&gt;The difference is between two versions of how to create a custom command in Splunk. The &lt;CODE&gt;splunk.Intersplunk&lt;/CODE&gt; module is a relatively simple module baked into the Splunk Python distribution and is the version 1 style of creating custom commands that has been around since about Splunk 3.x. The &lt;CODE&gt;splunklib&lt;/CODE&gt; package is the Splunk SDK for Python found here: &lt;A href="http://dev.splunk.com/python"&gt;http://dev.splunk.com/python&lt;/A&gt;. The SDK provides lots of tools for doing lots of things, including the new version 2 of how to create custom commands. There are lots of advantages to using the version 2 approach but that does come at the cost of bundling the SDK into your app. However, most agree it's worth it and it is considered best practice. There is an excellent .conf talk about the differences between the two here: &lt;A href="https://conf.splunk.com/files/2017/slides/extending-spl-with-custom-search-commands-and-the-splunk-sdk-for-python.pdf"&gt;https://conf.splunk.com/files/2017/slides/extending-spl-with-custom-search-commands-and-the-splunk-sdk-for-python.pdf&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Apr 2019 12:32:09 GMT</pubDate>
    <dc:creator>badarsebard</dc:creator>
    <dc:date>2019-04-18T12:32:09Z</dc:date>
    <item>
      <title>Whats the difference between splunklib.* and  splunk.Intersplunk</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Whats-the-difference-between-splunklib-and-splunk-Intersplunk/m-p/418482#M7307</link>
      <description>&lt;P&gt;I've noticed a bunch of custom search command uses  splunk.Intersplunk. In the Python Splunk SDK it documents splunklib.*. Can someone provide some details on what the difference between these two libraries are? When should we use one over the other? &lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 13:32:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Whats-the-difference-between-splunklib-and-splunk-Intersplunk/m-p/418482#M7307</guid>
      <dc:creator>spammenot66</dc:creator>
      <dc:date>2019-04-17T13:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Whats the difference between splunklib.* and  splunk.Intersplunk</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Whats-the-difference-between-splunklib-and-splunk-Intersplunk/m-p/418483#M7308</link>
      <description>&lt;P&gt;The difference is between two versions of how to create a custom command in Splunk. The &lt;CODE&gt;splunk.Intersplunk&lt;/CODE&gt; module is a relatively simple module baked into the Splunk Python distribution and is the version 1 style of creating custom commands that has been around since about Splunk 3.x. The &lt;CODE&gt;splunklib&lt;/CODE&gt; package is the Splunk SDK for Python found here: &lt;A href="http://dev.splunk.com/python"&gt;http://dev.splunk.com/python&lt;/A&gt;. The SDK provides lots of tools for doing lots of things, including the new version 2 of how to create custom commands. There are lots of advantages to using the version 2 approach but that does come at the cost of bundling the SDK into your app. However, most agree it's worth it and it is considered best practice. There is an excellent .conf talk about the differences between the two here: &lt;A href="https://conf.splunk.com/files/2017/slides/extending-spl-with-custom-search-commands-and-the-splunk-sdk-for-python.pdf"&gt;https://conf.splunk.com/files/2017/slides/extending-spl-with-custom-search-commands-and-the-splunk-sdk-for-python.pdf&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 12:32:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Whats-the-difference-between-splunklib-and-splunk-Intersplunk/m-p/418483#M7308</guid>
      <dc:creator>badarsebard</dc:creator>
      <dc:date>2019-04-18T12:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Whats the difference between splunklib.* and  splunk.Intersplunk</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Whats-the-difference-between-splunklib-and-splunk-Intersplunk/m-p/418484#M7309</link>
      <description>&lt;P&gt;thanks badarsebard!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 11:44:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Whats-the-difference-between-splunklib-and-splunk-Intersplunk/m-p/418484#M7309</guid>
      <dc:creator>spammenot66</dc:creator>
      <dc:date>2019-04-25T11:44:33Z</dc:date>
    </item>
  </channel>
</rss>

