<?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: includes in inputs.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/includes-in-inputs-conf/m-p/44922#M8424</link>
    <description>&lt;P&gt;There's no &lt;CODE&gt;include&lt;/CODE&gt; mechanism as such.&lt;/P&gt;

&lt;P&gt;Place your &lt;I&gt;common&lt;/I&gt; configuration into an app, and leaving your system-specific entries in the current location.  You don't necessarily need a new app for every input - just create a common "shared-inputs" app to contain them, or even put the file in another, existing app. Putting them in &lt;CODE&gt;search&lt;/CODE&gt; might work well if you aren't using the deployment manager.&lt;/P&gt;

&lt;P&gt;I'd do it this way:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Same on all system:        /opt/splunk/etc/apps/shared-inputs/inputs.conf
Machine-level settings:    /opt/splunk/etc/system/local/inputs.conf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(Yes, I know this is still partly what you're trying to avoid, but is probably the cleanest way with current functionality)&lt;/P&gt;</description>
    <pubDate>Tue, 15 Feb 2011 21:46:07 GMT</pubDate>
    <dc:creator>southeringtonp</dc:creator>
    <dc:date>2011-02-15T21:46:07Z</dc:date>
    <item>
      <title>includes in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/includes-in-inputs-conf/m-p/44921#M8423</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;we have a static part in our inputs.conf file which is the same on all our systems. What we would like to do now is to include a custom part into inputs.conf. I would rather do it like it is implemented in sudo (multiple includes in the main sudoers) than to have 'dummy' apps for each of the custom inputs.conf&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;

&lt;P&gt;cheers,
Andy&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2011 19:58:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/includes-in-inputs-conf/m-p/44921#M8423</guid>
      <dc:creator>kochera</dc:creator>
      <dc:date>2011-02-15T19:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: includes in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/includes-in-inputs-conf/m-p/44922#M8424</link>
      <description>&lt;P&gt;There's no &lt;CODE&gt;include&lt;/CODE&gt; mechanism as such.&lt;/P&gt;

&lt;P&gt;Place your &lt;I&gt;common&lt;/I&gt; configuration into an app, and leaving your system-specific entries in the current location.  You don't necessarily need a new app for every input - just create a common "shared-inputs" app to contain them, or even put the file in another, existing app. Putting them in &lt;CODE&gt;search&lt;/CODE&gt; might work well if you aren't using the deployment manager.&lt;/P&gt;

&lt;P&gt;I'd do it this way:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Same on all system:        /opt/splunk/etc/apps/shared-inputs/inputs.conf
Machine-level settings:    /opt/splunk/etc/system/local/inputs.conf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(Yes, I know this is still partly what you're trying to avoid, but is probably the cleanest way with current functionality)&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2011 21:46:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/includes-in-inputs-conf/m-p/44922#M8424</guid>
      <dc:creator>southeringtonp</dc:creator>
      <dc:date>2011-02-15T21:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: includes in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/includes-in-inputs-conf/m-p/44923#M8425</link>
      <description>&lt;P&gt;Thanks. I'll give it a try although it's not my preferred solution. Would the include mechanism be a future enhancement?&lt;/P&gt;

&lt;P&gt;cheers,&lt;BR /&gt;
andy&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2011 22:15:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/includes-in-inputs-conf/m-p/44923#M8425</guid>
      <dc:creator>kochera</dc:creator>
      <dc:date>2011-02-15T22:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: includes in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/includes-in-inputs-conf/m-p/44924#M8426</link>
      <description>&lt;P&gt;I can't speak for Splunk, but it seems like it would be easy to add if enough customers demand it. The best thing would be to submit an enhancement request - see &lt;A href="http://answers.splunk.com/questions/4844/how-can-i-submit-an-enhancement-request"&gt;http://answers.splunk.com/questions/4844/how-can-i-submit-an-enhancement-request&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2011 22:24:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/includes-in-inputs-conf/m-p/44924#M8426</guid>
      <dc:creator>southeringtonp</dc:creator>
      <dc:date>2011-02-15T22:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: includes in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/includes-in-inputs-conf/m-p/44925#M8427</link>
      <description>&lt;P&gt;At least one customer has gone the route of constructing conf files eg inputs at splunk-start time.  I'm not sure if they wanted includes... I think not, but obviously the goal of doing things your own way exists.  Generally we created the bundle system  (apps) with the idea of encapsulating logical sets of configuration.  The idea of them having a life in the UI, and permissions came much later.  You can make apps not have any life in the UI.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2011 03:04:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/includes-in-inputs-conf/m-p/44925#M8427</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2011-02-17T03:04:09Z</dc:date>
    </item>
  </channel>
</rss>

