<?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: More than one inputs.conf / config directory in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/More-than-one-inputs-conf-config-directory/m-p/85706#M17800</link>
    <description>&lt;P&gt;Depending on how you generate the inputs.conf, you might consider creating the separate configurations under $SPLUNK_HOME/etc/apps/.&lt;/P&gt;

&lt;P&gt;You would create a series of sub-directories to this, by whatever means you wanted to delineate, under those you would have "default" or "local" subdirectories, and in those you would have fragmentary files similar in content to the files you would normally find under etc/default or etc/local, which in your case would be stanzas from inputs.conf, e.g.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/etc/apps/target1/default/inputs.conf
$SPLUNK_HOME/etc/apps/target2/default/inputs.conf
$SPLUNK_HOME/etc/apps/target3/default/inputs.conf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The these would augment the main default configurations.&lt;/P&gt;

&lt;P&gt;You could see the total aggregate configuration using&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# $SPLUNK_HOME/bin/splunk btool inputs list
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 06 Jul 2013 01:25:01 GMT</pubDate>
    <dc:creator>grijhwani</dc:creator>
    <dc:date>2013-07-06T01:25:01Z</dc:date>
    <item>
      <title>More than one inputs.conf / config directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/More-than-one-inputs-conf-config-directory/m-p/85705#M17799</link>
      <description>&lt;P&gt;Hello fellow splunkers,&lt;/P&gt;

&lt;P&gt;I know about $SPLUNK_HOME/etc/system/local/inputs.conf and using wildcards to minimize the amount of stanzas in it. I'd like to know if its somehow possible to define some kind of inpus.conf.d directory and have one inputs.conf-like file for every log we would like to monitor.&lt;/P&gt;

&lt;P&gt;Our current inputs.conf is autogenerated and quite "messy". Having a directory with a dozen or so config files could be better and more clearly arranged.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2013 10:23:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/More-than-one-inputs-conf-config-directory/m-p/85705#M17799</guid>
      <dc:creator>Comradin</dc:creator>
      <dc:date>2013-07-05T10:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: More than one inputs.conf / config directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/More-than-one-inputs-conf-config-directory/m-p/85706#M17800</link>
      <description>&lt;P&gt;Depending on how you generate the inputs.conf, you might consider creating the separate configurations under $SPLUNK_HOME/etc/apps/.&lt;/P&gt;

&lt;P&gt;You would create a series of sub-directories to this, by whatever means you wanted to delineate, under those you would have "default" or "local" subdirectories, and in those you would have fragmentary files similar in content to the files you would normally find under etc/default or etc/local, which in your case would be stanzas from inputs.conf, e.g.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/etc/apps/target1/default/inputs.conf
$SPLUNK_HOME/etc/apps/target2/default/inputs.conf
$SPLUNK_HOME/etc/apps/target3/default/inputs.conf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The these would augment the main default configurations.&lt;/P&gt;

&lt;P&gt;You could see the total aggregate configuration using&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# $SPLUNK_HOME/bin/splunk btool inputs list
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 06 Jul 2013 01:25:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/More-than-one-inputs-conf-config-directory/m-p/85706#M17800</guid>
      <dc:creator>grijhwani</dc:creator>
      <dc:date>2013-07-06T01:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: More than one inputs.conf / config directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/More-than-one-inputs-conf-config-directory/m-p/85707#M17801</link>
      <description>&lt;P&gt;Thanks for the quick answer, this looks interesting. Ill have to check ..&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2013 07:47:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/More-than-one-inputs-conf-config-directory/m-p/85707#M17801</guid>
      <dc:creator>Comradin</dc:creator>
      <dc:date>2013-07-08T07:47:17Z</dc:date>
    </item>
  </channel>
</rss>

