<?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 How do I configure the forwarder local inputs config file for more than one host in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-forwarder-local-inputs-config-file-for/m-p/129339#M26545</link>
    <description>&lt;P&gt;[default]&lt;BR /&gt;
host = host1,host,2 etc&lt;/P&gt;</description>
    <pubDate>Thu, 18 Sep 2014 04:43:35 GMT</pubDate>
    <dc:creator>jamesmcgonagle</dc:creator>
    <dc:date>2014-09-18T04:43:35Z</dc:date>
    <item>
      <title>How do I configure the forwarder local inputs config file for more than one host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-forwarder-local-inputs-config-file-for/m-p/129339#M26545</link>
      <description>&lt;P&gt;[default]&lt;BR /&gt;
host = host1,host,2 etc&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2014 04:43:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-forwarder-local-inputs-config-file-for/m-p/129339#M26545</guid>
      <dc:creator>jamesmcgonagle</dc:creator>
      <dc:date>2014-09-18T04:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure the forwarder local inputs config file for more than one host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-forwarder-local-inputs-config-file-for/m-p/129340#M26546</link>
      <description>&lt;P&gt;Uhh, more details on what you're trying to achieve, what you tried and din't work, etc please?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2014 06:22:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-forwarder-local-inputs-config-file-for/m-p/129340#M26546</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2014-09-18T06:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure the forwarder local inputs config file for more than one host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-forwarder-local-inputs-config-file-for/m-p/129341#M26547</link>
      <description>&lt;P&gt;Shot in the dark here, but if you are trying to send data to a forwarder from more than 1 host, you can chain forwarders together, which allows you to send data from more than 1 forwarder to another, then send data to an indexer. Having said that, be careful: what you build you must also maintain. Simplicity rules!&lt;/P&gt;

&lt;P&gt;Here is a link that discusses this: &lt;A href="http://answers.splunk.com/answers/129546/chaining-universal-forwarder.html"&gt;http://answers.splunk.com/answers/129546/chaining-universal-forwarder.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2014 15:47:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-forwarder-local-inputs-config-file-for/m-p/129341#M26547</guid>
      <dc:creator>barakreeves</dc:creator>
      <dc:date>2014-09-18T15:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure the forwarder local inputs config file for more than one host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-forwarder-local-inputs-config-file-for/m-p/129342#M26548</link>
      <description>&lt;P&gt;My normal setup is one host application with log file per computer &lt;BR /&gt;
However I have a situation where I have three host applications on the one PC that each create logs&lt;BR /&gt;
I need to be able to pull the log data from all three applications, depending on the host search specification within splunk&lt;BR /&gt;
C:\Program Files\SplunkUniversalForwarder\etc\system\local\inputs.conf&lt;BR /&gt;
 host = host1 or host2 or host3&lt;/P&gt;

&lt;P&gt;Hope this makes it a bit clearer&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2014 19:13:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-forwarder-local-inputs-config-file-for/m-p/129342#M26548</guid>
      <dc:creator>jamesmcgonagle</dc:creator>
      <dc:date>2014-09-18T19:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure the forwarder local inputs config file for more than one host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-forwarder-local-inputs-config-file-for/m-p/129343#M26549</link>
      <description>&lt;P&gt;Is the host name in the log directory or part of the file name? If so, here is the doco how to do that: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.3/Data/setadefaulthostforaninput"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.3/Data/setadefaulthostforaninput&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;Scroll down to "dynamic" to see how to dynamically set the host name dynamically based upon file or directory name.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2014 19:35:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-forwarder-local-inputs-config-file-for/m-p/129343#M26549</guid>
      <dc:creator>barakreeves</dc:creator>
      <dc:date>2014-09-18T19:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure the forwarder local inputs config file for more than one host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-forwarder-local-inputs-config-file-for/m-p/129344#M26550</link>
      <description>&lt;P&gt;Thanks barakreeves for the info. &lt;BR /&gt;
After checking the log file I now release that the 3 host names all use the one log file . This being the case I need a Splunk search to return the same log data for any of the three host names entered in the search. Is this possible.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2014 20:53:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-forwarder-local-inputs-config-file-for/m-p/129344#M26550</guid>
      <dc:creator>jamesmcgonagle</dc:creator>
      <dc:date>2014-09-18T20:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure the forwarder local inputs config file for more than one host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-forwarder-local-inputs-config-file-for/m-p/129345#M26551</link>
      <description>&lt;P&gt;So you want to add another input source to your inputs.conf file.&lt;/P&gt;

&lt;P&gt;You need to add a stanza to inputs.conf that identifies the new data source.&lt;/P&gt;

&lt;P&gt;For example adding this stanza  on *nix will monitor the /var/log/httpd directory for everything less than 7 days old and assign it the sourcetype= access_comm (which is typical for *nix web logs). &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;[monitor:///var/log/httpd] &lt;BR /&gt;
index = main &lt;BR /&gt;
sourcetype = access_common&lt;BR /&gt;
ignoreOlderThan = 7d&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;For your additional applications you will want to assign new sourcetypes, like applicationABC and applicationXYZ if they have different formats. If they have the same format then you could call them both applicationlog. &lt;/P&gt;

&lt;P&gt;Here is the link to inputs.conf.spec file online, it is also in your splunk directory. &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.3/admin/inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.3/admin/inputsconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2014 02:34:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-forwarder-local-inputs-config-file-for/m-p/129345#M26551</guid>
      <dc:creator>mcronkrite</dc:creator>
      <dc:date>2014-09-19T02:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure the forwarder local inputs config file for more than one host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-forwarder-local-inputs-config-file-for/m-p/129346#M26552</link>
      <description>&lt;P&gt;After checking the log file I now release that the 3 host names all use the one log file . This being the case I need a Splunk search to return the same log data for any of the three host names entered in the search. Is this possible.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2014 02:45:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-forwarder-local-inputs-config-file-for/m-p/129346#M26552</guid>
      <dc:creator>jamesmcgonagle</dc:creator>
      <dc:date>2014-09-19T02:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure the forwarder local inputs config file for more than one host</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-forwarder-local-inputs-config-file-for/m-p/129347#M26553</link>
      <description>&lt;P&gt;Splunk can be feed with either of the metadata fields: Hosts / source / sourcetype.&lt;BR /&gt;
Better to use source / sourcetype as they remains with same value though Hosts value differs.&lt;/P&gt;

&lt;H4&gt;source&lt;/H4&gt;

&lt;P&gt;[monitor:///var/log/xxx.log]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index = xx&lt;BR /&gt;
host = host1, host2.. #####optional&lt;BR /&gt;
sourcetype = xxxxx&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2014 03:48:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-forwarder-local-inputs-config-file-for/m-p/129347#M26553</guid>
      <dc:creator>neelamssantosh</dc:creator>
      <dc:date>2014-09-19T03:48:12Z</dc:date>
    </item>
  </channel>
</rss>

