<?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: how to test add-on-builder python code from remote dev workstation? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-to-test-add-on-builder-python-code-from-remote-dev/m-p/370368#M44719</link>
    <description>&lt;P&gt;Right thanks, I did make sure to copy all of the files under /bin and subdirectories as well. Is calling the python file matching the input name field in AOB a correct way to invoke?&lt;/P&gt;</description>
    <pubDate>Mon, 30 Apr 2018 18:06:02 GMT</pubDate>
    <dc:creator>pmeyerson</dc:creator>
    <dc:date>2018-04-30T18:06:02Z</dc:date>
    <item>
      <title>how to test add-on-builder python code from remote dev workstation?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-to-test-add-on-builder-python-code-from-remote-dev/m-p/370365#M44716</link>
      <description>&lt;P&gt;Is there a way to invoke the collect_events() method in an add on that is using the add-on-builder template and has been copied to a remote dev workstation?&lt;/P&gt;

&lt;P&gt;I installed the splunk-sdk using pip, updated my service.connect() to specifiy the remote host, and set the log context to log to my local directory instead of /opt/splunk/var/log which does not exist.&lt;/P&gt;

&lt;P&gt;I try to run the main python file that matches the input name (without the input_module in the name), but it seems to just hang and not log anything.  The input_module_*.py seems to exit immediately.  Any suggestions would be great.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:18:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-to-test-add-on-builder-python-code-from-remote-dev/m-p/370365#M44716</guid>
      <dc:creator>pmeyerson</dc:creator>
      <dc:date>2020-09-29T19:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to test add-on-builder python code from remote dev workstation?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-to-test-add-on-builder-python-code-from-remote-dev/m-p/370366#M44717</link>
      <description>&lt;P&gt;Or should this work pretty effortlessly?&lt;BR /&gt;
Guess I could install splunk on my dev too!&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 02:34:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-to-test-add-on-builder-python-code-from-remote-dev/m-p/370366#M44717</guid>
      <dc:creator>pmeyerson</dc:creator>
      <dc:date>2018-04-30T02:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to test add-on-builder python code from remote dev workstation?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-to-test-add-on-builder-python-code-from-remote-dev/m-p/370367#M44718</link>
      <description>&lt;P&gt;AoB developed a toolchain as Python libs for you. If you want to invoke some functions outside of AoB, please copy all the py files under "bin" folder to another Splunk app. Otherwise you have to figure out the callstacks by yourself.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 16:45:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-to-test-add-on-builder-python-code-from-remote-dev/m-p/370367#M44718</guid>
      <dc:creator>chli_splunk</dc:creator>
      <dc:date>2018-04-30T16:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to test add-on-builder python code from remote dev workstation?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-to-test-add-on-builder-python-code-from-remote-dev/m-p/370368#M44719</link>
      <description>&lt;P&gt;Right thanks, I did make sure to copy all of the files under /bin and subdirectories as well. Is calling the python file matching the input name field in AOB a correct way to invoke?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 18:06:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-to-test-add-on-builder-python-code-from-remote-dev/m-p/370368#M44719</guid>
      <dc:creator>pmeyerson</dc:creator>
      <dc:date>2018-04-30T18:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to test add-on-builder python code from remote dev workstation?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-to-test-add-on-builder-python-code-from-remote-dev/m-p/370369#M44720</link>
      <description>&lt;P&gt;Technically yes. But if your new input has different parameters or settings, you have to update some files manually including inputs.conf.spec, inputs.conf, restmap.conf, py files etc. You can refer the templates in AoB to see how to apply different settings to the code generation: $SPLUNK_HONE/etc/apps/splunk_app_addon-builder/bin/ta_gnerator/resources&lt;/P&gt;

&lt;P&gt;Use AoB to build another addon is highly recommended, since it's not easy to do everything manually.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:23:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-to-test-add-on-builder-python-code-from-remote-dev/m-p/370369#M44720</guid>
      <dc:creator>chli_splunk</dc:creator>
      <dc:date>2020-09-29T19:23:07Z</dc:date>
    </item>
  </channel>
</rss>

