<?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: Host name can not be change in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Host-name-can-not-be-change/m-p/47053#M8907</link>
    <description>&lt;P&gt;Is your file named 'input.conf' or 'inputs.conf'?&lt;/P&gt;</description>
    <pubDate>Fri, 18 Feb 2011 20:36:26 GMT</pubDate>
    <dc:creator>Rob</dc:creator>
    <dc:date>2011-02-18T20:36:26Z</dc:date>
    <item>
      <title>Host name can not be change</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Host-name-can-not-be-change/m-p/47052#M8906</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I am new to splunk, I want a directory name as Host name
my directory structure is as follows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;C:/Program Files/Splunk/etc/apps/ntt_tougou/tougou_logs/AB/abcd/log1.csv
C:/Program Files/Splunk/etc/apps/ntt_tougou/tougou_logs/FS/kfcd/log1.csv
C:/Program Files/Splunk/etc/apps/ntt_tougou/tougou_logs/AVD/gbd/log1.csv
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want different host name like directory names
AB
FS
AVD&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;input.conf:
[monitor:C:/Program Files/Splunk/etc/apps/ntt_tougou/tougou_logs/]
host_segment =7
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;By above configuration I am getting host name as default name of my computer.
Is my settings are correct ? Where I am wrong ?&lt;/P&gt;

&lt;P&gt;Your help will be appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2011 19:12:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Host-name-can-not-be-change/m-p/47052#M8906</guid>
      <dc:creator>msona</dc:creator>
      <dc:date>2011-02-18T19:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Host name can not be change</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Host-name-can-not-be-change/m-p/47053#M8907</link>
      <description>&lt;P&gt;Is your file named 'input.conf' or 'inputs.conf'?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2011 20:36:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Host-name-can-not-be-change/m-p/47053#M8907</guid>
      <dc:creator>Rob</dc:creator>
      <dc:date>2011-02-18T20:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Host name can not be change</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Host-name-can-not-be-change/m-p/47054#M8908</link>
      <description>&lt;P&gt;The only time we've used host_segment, the segment name is in the monitor stanza (rather than after it somewhere), and it has worked well for us.&lt;/P&gt;

&lt;P&gt;ie:&lt;/P&gt;

&lt;P&gt;Instead of -&lt;/P&gt;

&lt;P&gt;C:/Program Files/Splunk/etc/apps/ntt_tougou/tougou_logs&lt;/P&gt;

&lt;P&gt;Try something like -&lt;/P&gt;

&lt;P&gt;C:/Program Files/Splunk/etc/apps/ntt_tougou/tougou_logs/.../.../*&lt;/P&gt;

&lt;P&gt;I have no idea if that will help, but it is worth a try until someone with a more definitive answer can chime in...&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2011 23:20:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Host-name-can-not-be-change/m-p/47054#M8908</guid>
      <dc:creator>rotten</dc:creator>
      <dc:date>2011-02-18T23:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Host name can not be change</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Host-name-can-not-be-change/m-p/47055#M8909</link>
      <description>&lt;P&gt;it is inputs.conf sorry for spell mistake.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2011 10:42:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Host-name-can-not-be-change/m-p/47055#M8909</guid>
      <dc:creator>msona</dc:creator>
      <dc:date>2011-02-21T10:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Host name can not be change</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Host-name-can-not-be-change/m-p/47056#M8910</link>
      <description>&lt;P&gt;Thank you very much for the help....&lt;BR /&gt;
Its working..!!!!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2011 14:14:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Host-name-can-not-be-change/m-p/47056#M8910</guid>
      <dc:creator>msona</dc:creator>
      <dc:date>2011-02-21T14:14:39Z</dc:date>
    </item>
  </channel>
</rss>

