<?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 Python script to create a new data input? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Python-script-to-create-a-new-data-input/m-p/669283#M112219</link>
    <description>&lt;P&gt;I have an Add-On which has defined a new data input. Via the UI, I can easily create new instances of the same input .. but I want to create them programmatically, via Python. The&amp;nbsp;inputs.conf.spec file for the app contains:&lt;/P&gt;&lt;PRE&gt;[&lt;SPAN&gt;strava_api&lt;/SPAN&gt;://&amp;lt;name&amp;gt;]&lt;BR /&gt;interval =&lt;BR /&gt;index =&lt;BR /&gt;access_code =&lt;BR /&gt;start_time =&lt;BR /&gt;reindex_data =&lt;/PRE&gt;&lt;P data-unlink="true"&gt;These are the values I am prompted for when using the UI manually ... but, how do I achieve the same result via Python (using python3)? I have the Python SDK installed .. but I just dont know where to start and would appreciate some inspiration from the Community.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any comments/tips/solutions &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;(For those with a keen eye, the Add-On in question is Strava for Splunk&amp;nbsp;)&lt;/P&gt;</description>
    <pubDate>Tue, 21 Nov 2023 05:44:12 GMT</pubDate>
    <dc:creator>edy_g</dc:creator>
    <dc:date>2023-11-21T05:44:12Z</dc:date>
    <item>
      <title>Python script to create a new data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Python-script-to-create-a-new-data-input/m-p/669283#M112219</link>
      <description>&lt;P&gt;I have an Add-On which has defined a new data input. Via the UI, I can easily create new instances of the same input .. but I want to create them programmatically, via Python. The&amp;nbsp;inputs.conf.spec file for the app contains:&lt;/P&gt;&lt;PRE&gt;[&lt;SPAN&gt;strava_api&lt;/SPAN&gt;://&amp;lt;name&amp;gt;]&lt;BR /&gt;interval =&lt;BR /&gt;index =&lt;BR /&gt;access_code =&lt;BR /&gt;start_time =&lt;BR /&gt;reindex_data =&lt;/PRE&gt;&lt;P data-unlink="true"&gt;These are the values I am prompted for when using the UI manually ... but, how do I achieve the same result via Python (using python3)? I have the Python SDK installed .. but I just dont know where to start and would appreciate some inspiration from the Community.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any comments/tips/solutions &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;(For those with a keen eye, the Add-On in question is Strava for Splunk&amp;nbsp;)&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 05:44:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Python-script-to-create-a-new-data-input/m-p/669283#M112219</guid>
      <dc:creator>edy_g</dc:creator>
      <dc:date>2023-11-21T05:44:12Z</dc:date>
    </item>
  </channel>
</rss>

