<?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: Various hostnames for a single server in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Various-hostnames-for-a-single-server/m-p/12924#M1080</link>
    <description>&lt;P&gt;Hi,
It may not be syslog only..can be from windows servers via light forwarding as well..&lt;/P&gt;

&lt;P&gt;under Summary &amp;gt; All indexed data &amp;gt; Hosts
I can have the following:&lt;/P&gt;

&lt;P&gt;a1.windows
a2.windows.com
..
x1.linux
x2.linux.abc&lt;/P&gt;

&lt;P&gt;where a1.windows and a2.windows.com both refer to the same machine with same ip.So are x1.linux and x2.linux.abc both refers to the same linux machine.&lt;/P&gt;

&lt;P&gt;I am trying some of the links provided. I like to classify them under a single hostname, in the above eg..'AA' for 2 windows server and 'XX' for the 2 linux server.&lt;/P&gt;

&lt;P&gt;Thanks..&lt;/P&gt;</description>
    <pubDate>Wed, 12 May 2010 17:23:17 GMT</pubDate>
    <dc:creator>remy06</dc:creator>
    <dc:date>2010-05-12T17:23:17Z</dc:date>
    <item>
      <title>Various hostnames for a single server</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Various-hostnames-for-a-single-server/m-p/12921#M1077</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Currently on our Splunk server, under Search "Summary" I have various hostnames registered under "Hosts" section for a single server that is sending logs via syslog.&lt;/P&gt;

&lt;P&gt;Eg.
Hosts(1)
......
xx1 ... | 23456
xx1.abc ... | 24587
xx1.abc.com ... | 12645&lt;/P&gt;

&lt;P&gt;which in fact they all refer to the same server (xx1,which is the latest hostname used) with the same IP.&lt;/P&gt;

&lt;P&gt;My configuration under Manager &amp;gt; Data Inputs &amp;gt; UDP &amp;gt; 514 &amp;gt; Host
is set as "DNS"&lt;/P&gt;

&lt;P&gt;1) How do I amend the various hostnames to reflect as one instead?
2) If I set the data input to "IP" instead of "DNS",it should have 1 entry(IP) now instead of various entries(DNS hostnames) for xx1 server?
3) How do I correct the current Summary page to reflect the hosts properly?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2010 10:58:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Various-hostnames-for-a-single-server/m-p/12921#M1077</guid>
      <dc:creator>remy06</dc:creator>
      <dc:date>2010-05-05T10:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Various hostnames for a single server</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Various-hostnames-for-a-single-server/m-p/12922#M1078</link>
      <description>&lt;P&gt;For syslog, we pull the hostname out of the text of the syslog events.&lt;/P&gt;

&lt;P&gt;Options:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Investigate syslog data to see if the events hav varying forms of the host name&lt;/LI&gt;
&lt;LI&gt;Disable the extraction of the hostname from the event for your data, or some subset of that data. There's a venerable blogpost about this here &lt;A href="http://blogs.splunk.com/2008/04/16/overriding-default-syslog-host-extraction/" rel="nofollow"&gt;http://blogs.splunk.com/2008/04/16/overriding-default-syslog-host-extraction/&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 05 May 2010 12:23:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Various-hostnames-for-a-single-server/m-p/12922#M1078</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2010-05-05T12:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Various hostnames for a single server</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Various-hostnames-for-a-single-server/m-p/12923#M1079</link>
      <description>&lt;P&gt;We have several DNS aliases for our hosts so we added a lookup which adds an extra field that contains the same alias for all the different variations that appear in the host field. We use a csv file dumped from an inventory db, but you can also use a python script to do DNS or DB (or whatever) lookups&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/4.1/Knowledge/Addfieldsfromexternaldatasources" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/4.1/Knowledge/Addfieldsfromexternaldatasources&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;There is a sample script in the lookups directory which may do just what you want.
This blog post describes how to use it:
&lt;A href="http://blogs.splunk.com/2009/12/15/reverse-dns-lookups-for-host-entries/" rel="nofollow"&gt;http://blogs.splunk.com/2009/12/15/reverse-dns-lookups-for-host-entries/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2010 15:48:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Various-hostnames-for-a-single-server/m-p/12923#M1079</guid>
      <dc:creator>chris</dc:creator>
      <dc:date>2010-05-05T15:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Various hostnames for a single server</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Various-hostnames-for-a-single-server/m-p/12924#M1080</link>
      <description>&lt;P&gt;Hi,
It may not be syslog only..can be from windows servers via light forwarding as well..&lt;/P&gt;

&lt;P&gt;under Summary &amp;gt; All indexed data &amp;gt; Hosts
I can have the following:&lt;/P&gt;

&lt;P&gt;a1.windows
a2.windows.com
..
x1.linux
x2.linux.abc&lt;/P&gt;

&lt;P&gt;where a1.windows and a2.windows.com both refer to the same machine with same ip.So are x1.linux and x2.linux.abc both refers to the same linux machine.&lt;/P&gt;

&lt;P&gt;I am trying some of the links provided. I like to classify them under a single hostname, in the above eg..'AA' for 2 windows server and 'XX' for the 2 linux server.&lt;/P&gt;

&lt;P&gt;Thanks..&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2010 17:23:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Various-hostnames-for-a-single-server/m-p/12924#M1080</guid>
      <dc:creator>remy06</dc:creator>
      <dc:date>2010-05-12T17:23:17Z</dc:date>
    </item>
  </channel>
</rss>

