<?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: What is the CLI command to generate input definition for testing modular inputs? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-CLI-command-to-generate-input-definition-for-testing/m-p/138865#M28533</link>
    <description>&lt;P&gt;There is this docs page which may have what you are looking for:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.4/AdvancedDev/ModInputsDevTools"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.4/AdvancedDev/ModInputsDevTools&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;From there you can also browse other modular inputs docs related pages, such as this one, which may be of interest: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.4/AdvancedDev/ModInputsSpec"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.4/AdvancedDev/ModInputsSpec&lt;/A&gt; .&lt;/P&gt;

&lt;P&gt;Does this cover what you need?&lt;/P&gt;</description>
    <pubDate>Thu, 09 Oct 2014 18:12:56 GMT</pubDate>
    <dc:creator>igor</dc:creator>
    <dc:date>2014-10-09T18:12:56Z</dc:date>
    <item>
      <title>What is the CLI command to generate input definition for testing modular inputs?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-CLI-command-to-generate-input-definition-for-testing/m-p/138864#M28532</link>
      <description>&lt;P&gt;I know there is a CLI command to generate an Input Definition for testing Modular Inputs, but I cannot seem to find any docs on it. I've searched through the SDKs, online, and nothing in the CLI help stands out. Can anyone point me in the right direction?&lt;/P&gt;

&lt;P&gt;The input definition would look something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;?xml version="1.0" encoding="utf-16"?&amp;gt;
    &amp;lt;input xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&amp;gt;
      &amp;lt;server_host&amp;gt;tiny&amp;lt;/server_host&amp;gt;
      &amp;lt;server_uri&amp;gt;https://127.0.0.1:8089&amp;lt;/server_uri&amp;gt;
      &amp;lt;checkpoint_dir&amp;gt;/opt/splunk/var/lib/splunk/modinputs&amp;lt;/checkpoint_dir&amp;gt;
      &amp;lt;session_key&amp;gt;123102983109283019283&amp;lt;/session_key&amp;gt;
      &amp;lt;configuration&amp;gt;
        &amp;lt;stanza name="foobar://aaa"&amp;gt;
          &amp;lt;param name="param1"&amp;gt;value1&amp;lt;/param&amp;gt;
          &amp;lt;param name="param2"&amp;gt;value2&amp;lt;/param&amp;gt;
          &amp;lt;param name="disabled"&amp;gt;0&amp;lt;/param&amp;gt;
          &amp;lt;param name="index"&amp;gt;default&amp;lt;/param&amp;gt;
        &amp;lt;/stanza&amp;gt;
        &amp;lt;stanza name="foobar://bbb"&amp;gt;
          &amp;lt;param name="param1"&amp;gt;value11&amp;lt;/param&amp;gt;
          &amp;lt;param name="param2"&amp;gt;value22&amp;lt;/param&amp;gt;
          &amp;lt;param name="disabled"&amp;gt;0&amp;lt;/param&amp;gt;
          &amp;lt;param name="index"&amp;gt;default&amp;lt;/param&amp;gt;
          &amp;lt;param_list name="multiValue"&amp;gt;
            &amp;lt;value&amp;gt;value1&amp;lt;/value&amp;gt;
            &amp;lt;value&amp;gt;value2&amp;lt;/value&amp;gt;
          &amp;lt;/param_list&amp;gt;
          &amp;lt;param_list name="multiValue2"&amp;gt;
            &amp;lt;value&amp;gt;value3&amp;lt;/value&amp;gt;
            &amp;lt;value&amp;gt;value4&amp;lt;/value&amp;gt;
          &amp;lt;/param_list&amp;gt;
        &amp;lt;/stanza&amp;gt;
      &amp;lt;/configuration&amp;gt;
    &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 Jul 2014 12:55:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-CLI-command-to-generate-input-definition-for-testing/m-p/138864#M28532</guid>
      <dc:creator>curtisb1024</dc:creator>
      <dc:date>2014-07-11T12:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: What is the CLI command to generate input definition for testing modular inputs?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-CLI-command-to-generate-input-definition-for-testing/m-p/138865#M28533</link>
      <description>&lt;P&gt;There is this docs page which may have what you are looking for:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.4/AdvancedDev/ModInputsDevTools"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.4/AdvancedDev/ModInputsDevTools&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;From there you can also browse other modular inputs docs related pages, such as this one, which may be of interest: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.4/AdvancedDev/ModInputsSpec"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.4/AdvancedDev/ModInputsSpec&lt;/A&gt; .&lt;/P&gt;

&lt;P&gt;Does this cover what you need?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2014 18:12:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-CLI-command-to-generate-input-definition-for-testing/m-p/138865#M28533</guid>
      <dc:creator>igor</dc:creator>
      <dc:date>2014-10-09T18:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: What is the CLI command to generate input definition for testing modular inputs?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-CLI-command-to-generate-input-definition-for-testing/m-p/138866#M28534</link>
      <description>&lt;P&gt;Example using a twitter stanza : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk cmd splunkd print-modinput-config twitter twitter://SplunkTwitter | splunk cmd python $SPLUNK_HOME/etc/apps/twitter/bin/twitter.py
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Oct 2014 01:58:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-CLI-command-to-generate-input-definition-for-testing/m-p/138866#M28534</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2014-10-14T01:58:10Z</dc:date>
    </item>
  </channel>
</rss>

