<?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 lookup in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/host-lookup/m-p/73098#M18290</link>
    <description>&lt;P&gt;Correct , and there is also a "host_segment" option to consider.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2012 21:39:14 GMT</pubDate>
    <dc:creator>Damien_Dallimor</dc:creator>
    <dc:date>2012-02-16T21:39:14Z</dc:date>
    <item>
      <title>host lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/host-lookup/m-p/73094#M18286</link>
      <description>&lt;P&gt;I'm getting some unexpected results when I run the following query for hosts:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;index=mydata | top host&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I expect to see a list of the top hosts in my index however I get back information such as eth0, eth1, sit0, sum, etc in my hosts column.  This data is not accurate.  When I click on one of the host fields to see get more information about the source, I see...&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;host=0.00    sourcetype=syslog    source=/var/log/sa/sar15&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;What is causing this, and more importantly, how to stop it?  Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2012 20:58:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/host-lookup/m-p/73094#M18286</guid>
      <dc:creator>DTERM</dc:creator>
      <dc:date>2012-02-16T20:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: host lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/host-lookup/m-p/73095#M18287</link>
      <description>&lt;P&gt;It looks like you a monitoring a file....how are you specifying your host field extraction ?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2012 21:05:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/host-lookup/m-p/73095#M18287</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2012-02-16T21:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: host lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/host-lookup/m-p/73096#M18288</link>
      <description>&lt;P&gt;I love the MARSHALL back ground!!  Excellent.  Regarding the host field extraction, how do I answer that?  What file holds that information?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2012 21:13:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/host-lookup/m-p/73096#M18288</guid>
      <dc:creator>DTERM</dc:creator>
      <dc:date>2012-02-16T21:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: host lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/host-lookup/m-p/73097#M18289</link>
      <description>&lt;P&gt;To jump in, you should look at the inputs.conf file and "host_regex" option. So is "sar15" the host?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2012 21:36:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/host-lookup/m-p/73097#M18289</guid>
      <dc:creator>MHibbin</dc:creator>
      <dc:date>2012-02-16T21:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: host lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/host-lookup/m-p/73098#M18290</link>
      <description>&lt;P&gt;Correct , and there is also a "host_segment" option to consider.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2012 21:39:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/host-lookup/m-p/73098#M18290</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2012-02-16T21:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: host lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/host-lookup/m-p/73099#M18291</link>
      <description>&lt;P&gt;[monitor:///var/log]&lt;BR /&gt;
sourcetype = syslog&lt;BR /&gt;
disabled = false&lt;BR /&gt;
host = myhost&lt;/P&gt;

&lt;P&gt;That is a paragraph in my inputs.conf file.  Do I just need to remove that entire paragraph?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2012 22:01:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/host-lookup/m-p/73099#M18291</guid>
      <dc:creator>DTERM</dc:creator>
      <dc:date>2012-02-16T22:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: host lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/host-lookup/m-p/73100#M18292</link>
      <description>&lt;P&gt;I would change the sourcetype to something else.&lt;BR /&gt;
ie: "my_log_file"&lt;/P&gt;

&lt;P&gt;By using the "syslog" sourcetype , the default syslog host field transforms are getting invoked on your events.&lt;/P&gt;

&lt;P&gt;That's why your host field is getting filled incorrectly.&lt;/P&gt;

&lt;P&gt;from etc/system/default&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;P&gt;[syslog]&lt;BR /&gt;
...&lt;BR /&gt;
TRANSFORMS = syslog-host&lt;BR /&gt;
...&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;P&gt;[syslog-host]&lt;BR /&gt;
DEST_KEY = MetaData:Host&lt;BR /&gt;
REGEX = :\d\d\s+(?:\d+\s+|(?:user|daemon|local.?).\w+\s+)*[?(\w[\w.-]{2,})]?\s&lt;BR /&gt;
FORMAT = host::$1&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:24:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/host-lookup/m-p/73100#M18292</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2020-09-28T11:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: host lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/host-lookup/m-p/73101#M18293</link>
      <description>&lt;P&gt;sar15 is not the host, just FYI... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2012 20:59:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/host-lookup/m-p/73101#M18293</guid>
      <dc:creator>DTERM</dc:creator>
      <dc:date>2012-02-21T20:59:27Z</dc:date>
    </item>
  </channel>
</rss>

