<?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 Splunk Add-On Builder: Is there any documentation or information about the helper functions? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-On-Builder-Is-there-any-documentation-or-information/m-p/260265#M29997</link>
    <description>&lt;P&gt;I'm working with the Splunk Add-On Builder and am interested in learning more about some of the helper functions that are provided; namely, helper.save_check_point.&lt;/P&gt;

&lt;P&gt;This helper method is referred to in the "example data collection logic" code provided in the Add-On Builder wizard:&lt;/P&gt;

&lt;H1&gt;checkpoint related helper functions&lt;/H1&gt;

&lt;H1&gt;save checkpoint&lt;/H1&gt;

&lt;H1&gt;helper.save_check_point(key, state)&lt;/H1&gt;

&lt;H1&gt;delete checkpoint&lt;/H1&gt;

&lt;H1&gt;helper.delete_check_point(key)&lt;/H1&gt;

&lt;H1&gt;get checkpoint&lt;/H1&gt;

&lt;H1&gt;state = helper.get_check_point(key)&lt;/H1&gt;

&lt;P&gt;...but I can't find documentation anywhere about what these methods do, or what their inputs/outputs are. The &lt;CODE&gt;key&lt;/CODE&gt; parameter in this example does not seem to be declared earlier in the example code, so I lack context to guess what this is doing.&lt;/P&gt;

&lt;P&gt;There are additional helper methods referred to in example code of which I'm additionally interested in learning usage details, like:&lt;BR /&gt;
helper.set_log_level&lt;BR /&gt;
helper.get_global_setting&lt;BR /&gt;
helper.get_user_credential&lt;BR /&gt;
and so on.&lt;/P&gt;

&lt;P&gt;I've tried searching through Splunk Docs, on google, etc. and find only the example code. Can someone point me in the direction of documentation/API reference for the Splunk Add-On Builder, specifically the helper module? Or can anyone provide some information about these helper functions?&lt;/P&gt;

&lt;P&gt;Many thanks in advance.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 12:36:05 GMT</pubDate>
    <dc:creator>ssanborn</dc:creator>
    <dc:date>2020-09-29T12:36:05Z</dc:date>
    <item>
      <title>Splunk Add-On Builder: Is there any documentation or information about the helper functions?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-On-Builder-Is-there-any-documentation-or-information/m-p/260265#M29997</link>
      <description>&lt;P&gt;I'm working with the Splunk Add-On Builder and am interested in learning more about some of the helper functions that are provided; namely, helper.save_check_point.&lt;/P&gt;

&lt;P&gt;This helper method is referred to in the "example data collection logic" code provided in the Add-On Builder wizard:&lt;/P&gt;

&lt;H1&gt;checkpoint related helper functions&lt;/H1&gt;

&lt;H1&gt;save checkpoint&lt;/H1&gt;

&lt;H1&gt;helper.save_check_point(key, state)&lt;/H1&gt;

&lt;H1&gt;delete checkpoint&lt;/H1&gt;

&lt;H1&gt;helper.delete_check_point(key)&lt;/H1&gt;

&lt;H1&gt;get checkpoint&lt;/H1&gt;

&lt;H1&gt;state = helper.get_check_point(key)&lt;/H1&gt;

&lt;P&gt;...but I can't find documentation anywhere about what these methods do, or what their inputs/outputs are. The &lt;CODE&gt;key&lt;/CODE&gt; parameter in this example does not seem to be declared earlier in the example code, so I lack context to guess what this is doing.&lt;/P&gt;

&lt;P&gt;There are additional helper methods referred to in example code of which I'm additionally interested in learning usage details, like:&lt;BR /&gt;
helper.set_log_level&lt;BR /&gt;
helper.get_global_setting&lt;BR /&gt;
helper.get_user_credential&lt;BR /&gt;
and so on.&lt;/P&gt;

&lt;P&gt;I've tried searching through Splunk Docs, on google, etc. and find only the example code. Can someone point me in the direction of documentation/API reference for the Splunk Add-On Builder, specifically the helper module? Or can anyone provide some information about these helper functions?&lt;/P&gt;

&lt;P&gt;Many thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:36:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-On-Builder-Is-there-any-documentation-or-information/m-p/260265#M29997</guid>
      <dc:creator>ssanborn</dc:creator>
      <dc:date>2020-09-29T12:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-On Builder: Is there any documentation or information about the helper functions?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-On-Builder-Is-there-any-documentation-or-information/m-p/260266#M29998</link>
      <description>&lt;P&gt;Currently, there is no doc about the helper function yet. But for the ckpt related functions.&lt;BR /&gt;
the parameter key is a string which is the unique key for the state object. the state is a python dict which stores the states of your program.&lt;/P&gt;

&lt;P&gt;You can think the ckpt as a simple key-value store.  the value is a python dict and the key is a string.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 03:05:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-On-Builder-Is-there-any-documentation-or-information/m-p/260266#M29998</guid>
      <dc:creator>gwang_splunk</dc:creator>
      <dc:date>2017-02-06T03:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-On Builder: Is there any documentation or information about the helper functions?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-On-Builder-Is-there-any-documentation-or-information/m-p/260267#M29999</link>
      <description>&lt;P&gt;They have been released. Hope they help you as much as they have helped me &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/AddonBuilder/2.1.0/UserGuide/PythonHelperFunctions"&gt;http://docs.splunk.com/Documentation/AddonBuilder/2.1.0/UserGuide/PythonHelperFunctions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 16:35:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-On-Builder-Is-there-any-documentation-or-information/m-p/260267#M29999</guid>
      <dc:creator>cmeerbeek</dc:creator>
      <dc:date>2017-03-10T16:35:58Z</dc:date>
    </item>
  </channel>
</rss>

