<?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 How to run script input after completing setup add-on? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-run-script-input-after-completing-setup-add-on/m-p/588831#M10451</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm a newbie in developing Splunk add-on. My add-on has a setup view (with a setup page).&amp;nbsp; I am using Splunkjs and follow Splunk add-on sample app on GitHub.&lt;BR /&gt;&lt;A href="https://docs.splunk.com/DocumentationStatic/JavaScriptSDK/1.0/splunkjs.Service.Endpoint.html" target="_blank" rel="noopener"&gt;Splunk JavaScript SDK&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I configured with input script (call python script) and set interval to schedule run script automatic.&lt;/P&gt;
&lt;P&gt;But I want to run the python script for the first time, after completing the add-on setup. How can do that?&lt;/P&gt;
&lt;P&gt;Or can I create the button on the Setup page to manually run script input?&lt;/P&gt;
&lt;P&gt;Thank for help&lt;/P&gt;</description>
    <pubDate>Mon, 14 Mar 2022 13:40:01 GMT</pubDate>
    <dc:creator>datphamtat</dc:creator>
    <dc:date>2022-03-14T13:40:01Z</dc:date>
    <item>
      <title>How to run script input after completing setup add-on?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-run-script-input-after-completing-setup-add-on/m-p/588831#M10451</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm a newbie in developing Splunk add-on. My add-on has a setup view (with a setup page).&amp;nbsp; I am using Splunkjs and follow Splunk add-on sample app on GitHub.&lt;BR /&gt;&lt;A href="https://docs.splunk.com/DocumentationStatic/JavaScriptSDK/1.0/splunkjs.Service.Endpoint.html" target="_blank" rel="noopener"&gt;Splunk JavaScript SDK&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I configured with input script (call python script) and set interval to schedule run script automatic.&lt;/P&gt;
&lt;P&gt;But I want to run the python script for the first time, after completing the add-on setup. How can do that?&lt;/P&gt;
&lt;P&gt;Or can I create the button on the Setup page to manually run script input?&lt;/P&gt;
&lt;P&gt;Thank for help&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 13:40:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-run-script-input-after-completing-setup-add-on/m-p/588831#M10451</guid>
      <dc:creator>datphamtat</dc:creator>
      <dc:date>2022-03-14T13:40:01Z</dc:date>
    </item>
  </channel>
</rss>

