<?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 Is it possible to disable certain Data Input Parameters of a Modular Input based on some logic within the Python Script? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Is-it-possible-to-disable-certain-Data-Input-Parameters-of-a/m-p/493569#M8903</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I have created a modular input using Splunk's Add-on builder (v3.0.1). The modular input is based on a Python script which polls our REST API to ingest data into Splunk. The Modular input takes three Data Input Parameters, a simple text-box, a password and a checkbox.&lt;/P&gt;
&lt;P&gt;What I want to do is, based on the data ingested by the script, disable or remove the checkbox input parameter so that user cannot edit it. Does Splunk modular inputs provide any such functionality to perform this?&lt;/P&gt;
&lt;P&gt;Any help towards pointing me in the right direction will be highly appreciated.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Sun, 07 Jun 2020 18:11:53 GMT</pubDate>
    <dc:creator>umairahmad3985</dc:creator>
    <dc:date>2020-06-07T18:11:53Z</dc:date>
    <item>
      <title>Is it possible to disable certain Data Input Parameters of a Modular Input based on some logic within the Python Script?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Is-it-possible-to-disable-certain-Data-Input-Parameters-of-a/m-p/493569#M8903</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I have created a modular input using Splunk's Add-on builder (v3.0.1). The modular input is based on a Python script which polls our REST API to ingest data into Splunk. The Modular input takes three Data Input Parameters, a simple text-box, a password and a checkbox.&lt;/P&gt;
&lt;P&gt;What I want to do is, based on the data ingested by the script, disable or remove the checkbox input parameter so that user cannot edit it. Does Splunk modular inputs provide any such functionality to perform this?&lt;/P&gt;
&lt;P&gt;Any help towards pointing me in the right direction will be highly appreciated.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 18:11:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Is-it-possible-to-disable-certain-Data-Input-Parameters-of-a/m-p/493569#M8903</guid>
      <dc:creator>umairahmad3985</dc:creator>
      <dc:date>2020-06-07T18:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to disable certain Data Input Parameters of a Modular Input based on some logic within the Python Scr</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Is-it-possible-to-disable-certain-Data-Input-Parameters-of-a/m-p/504004#M8904</link>
      <description>&lt;P&gt;To my knowledge, you would have use REST and POST to the conf-inputs/[stanza] endpoint. I havent done this myself however I would imagine that the change wouldnt take effect until the next time splunk is restarted. You may get away with a restart of splunkd but I wouldnt be able to say for sure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.6/RESTREF/RESTconf#configs.2Fconf-.7Bfile.7D.2F.7Bname.7D" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.6/RESTREF/RESTconf#configs.2Fconf-.7Bfile.7D.2F.7Bname.7D&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 21:06:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Is-it-possible-to-disable-certain-Data-Input-Parameters-of-a/m-p/504004#M8904</guid>
      <dc:creator>twesty</dc:creator>
      <dc:date>2020-06-11T21:06:49Z</dc:date>
    </item>
  </channel>
</rss>

