<?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: Parameters in script in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Parameters-in-script/m-p/31389#M178106</link>
    <description>&lt;P&gt;I think that it's in the script stanza directly;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[script:///usr/test/dq_test.pl MAHN 0.25]&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 13 May 2013 15:11:38 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2013-05-13T15:11:38Z</dc:date>
    <item>
      <title>Parameters in script</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Parameters-in-script/m-p/31388#M178105</link>
      <description>&lt;P&gt;Hi,  I have a script which needs parameters to be passed.  I know that I can enroll the script in the input.conf file but any idea what is the keyword in inputs.conf file that accepts parameters.&lt;/P&gt;

&lt;P&gt;For example: I have a script which is located in &lt;BR /&gt;
/usr/test/dq_test.pl CHAN &lt;BR /&gt;
/usr/test/dq_test.pl MAHN 0.25&lt;/P&gt;

&lt;P&gt;So, how to pass parameter like CHAN and MAHN 0.25 in the inputs.conf file?&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Dinesh&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:53:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Parameters-in-script/m-p/31388#M178105</guid>
      <dc:creator>dbashyam</dc:creator>
      <dc:date>2020-09-28T13:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters in script</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Parameters-in-script/m-p/31389#M178106</link>
      <description>&lt;P&gt;I think that it's in the script stanza directly;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[script:///usr/test/dq_test.pl MAHN 0.25]&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2013 15:11:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Parameters-in-script/m-p/31389#M178106</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2013-05-13T15:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters in script</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Parameters-in-script/m-p/31390#M178107</link>
      <description>&lt;P&gt;Hi YannK...Sure I will definitely give back and comment after implementing this at my end.  Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2013 15:16:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Parameters-in-script/m-p/31390#M178107</guid>
      <dc:creator>dbashyam</dc:creator>
      <dc:date>2013-05-13T15:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters in script</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Parameters-in-script/m-p/31391#M178108</link>
      <description>&lt;P&gt;on more recent splunk please prefer modular inputs instead of scripts :&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/ModInputsIntro"&gt;https://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/ModInputsIntro&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 23:26:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Parameters-in-script/m-p/31391#M178108</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2019-11-12T23:26:55Z</dc:date>
    </item>
  </channel>
</rss>

