<?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 Search for host name where hostname is not an IP in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-for-host-name-where-hostname-is-not-an-IP/m-p/181965#M52446</link>
    <description>&lt;P&gt;When I use the &lt;CODE&gt;| metadata type=hosts&lt;/CODE&gt; I see all my servers as well as network equipment that have &lt;CODE&gt;host&lt;/CODE&gt; as the IP of the device.&lt;/P&gt;

&lt;P&gt;I would like to do the search and leave out all the IPs under &lt;CODE&gt;host&lt;/CODE&gt; and only get the ones that have alphanumeric hostnames&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jan 2015 00:04:12 GMT</pubDate>
    <dc:creator>hartfoml</dc:creator>
    <dc:date>2015-01-13T00:04:12Z</dc:date>
    <item>
      <title>Search for host name where hostname is not an IP</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-host-name-where-hostname-is-not-an-IP/m-p/181965#M52446</link>
      <description>&lt;P&gt;When I use the &lt;CODE&gt;| metadata type=hosts&lt;/CODE&gt; I see all my servers as well as network equipment that have &lt;CODE&gt;host&lt;/CODE&gt; as the IP of the device.&lt;/P&gt;

&lt;P&gt;I would like to do the search and leave out all the IPs under &lt;CODE&gt;host&lt;/CODE&gt; and only get the ones that have alphanumeric hostnames&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jan 2015 00:04:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-host-name-where-hostname-is-not-an-IP/m-p/181965#M52446</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2015-01-13T00:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Search for host name where hostname is not an IP</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-host-name-where-hostname-is-not-an-IP/m-p/181966#M52447</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| metadata type=hosts | regex host!="^(?:\d{1,3}\.){3}\d{1,3}"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Use &lt;CODE&gt;regex&lt;/CODE&gt; to find all &lt;CODE&gt;host&lt;/CODE&gt; that doesn't follow the IPv4 address like &lt;CODE&gt;223.34.2.99&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;More info about &lt;CODE&gt;regex&lt;/CODE&gt;: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/SearchReference/regex"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/SearchReference/regex&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jan 2015 00:24:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-host-name-where-hostname-is-not-an-IP/m-p/181966#M52447</guid>
      <dc:creator>skawasaki_splun</dc:creator>
      <dc:date>2015-01-13T00:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Search for host name where hostname is not an IP</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-host-name-where-hostname-is-not-an-IP/m-p/181967#M52448</link>
      <description>&lt;P&gt;Thanks Much @skawasaki_splunk  I gave you 5 points but this was too easy for you.  Thanks again for the help.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jan 2015 00:45:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-host-name-where-hostname-is-not-an-IP/m-p/181967#M52448</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2015-01-13T00:45:52Z</dc:date>
    </item>
  </channel>
</rss>

