<?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: Many indexes for many hosts? (no hostname in the logs) in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Many-indexes-for-many-hosts-no-hostname-in-the-logs/m-p/172127#M34698</link>
    <description>&lt;P&gt;You can mention hostname in inputs.conf as shown below -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
host = cisco_router1

[monitor:///opt/log/cisco_router1/cisco_ironport_web.log]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So that whenever indexer receives data from UF, it will have hostname. &lt;/P&gt;</description>
    <pubDate>Tue, 05 May 2015 11:02:05 GMT</pubDate>
    <dc:creator>satishsdange</dc:creator>
    <dc:date>2015-05-05T11:02:05Z</dc:date>
    <item>
      <title>Many indexes for many hosts? (no hostname in the logs)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Many-indexes-for-many-hosts-no-hostname-in-the-logs/m-p/172126#M34697</link>
      <description>&lt;P&gt;Hi all, &lt;/P&gt;

&lt;P&gt;I have a doubt about which can be the best practice about indexing if:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;I have several splunk client forwarding to the same splunk server the same logs folder. Each night the logs are updated but no logs contain the host name to distinguish among them.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Now my doubt/question is: should I use different indexes per hosts? in such a case a could use different clones of the same app on each host right?&lt;/P&gt;

&lt;P&gt;Does anybody has a better how-to or best practice?&lt;/P&gt;

&lt;P&gt;Many thanks in advance Cdf.&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2015 10:57:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Many-indexes-for-many-hosts-no-hostname-in-the-logs/m-p/172126#M34697</guid>
      <dc:creator>Cesaredf</dc:creator>
      <dc:date>2015-05-05T10:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Many indexes for many hosts? (no hostname in the logs)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Many-indexes-for-many-hosts-no-hostname-in-the-logs/m-p/172127#M34698</link>
      <description>&lt;P&gt;You can mention hostname in inputs.conf as shown below -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
host = cisco_router1

[monitor:///opt/log/cisco_router1/cisco_ironport_web.log]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So that whenever indexer receives data from UF, it will have hostname. &lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2015 11:02:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Many-indexes-for-many-hosts-no-hostname-in-the-logs/m-p/172127#M34698</guid>
      <dc:creator>satishsdange</dc:creator>
      <dc:date>2015-05-05T11:02:05Z</dc:date>
    </item>
  </channel>
</rss>

