<?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: How to enter hosts in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75166#M181309</link>
    <description>&lt;P&gt;Try it without the quotes.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Oct 2010 03:27:07 GMT</pubDate>
    <dc:creator>southeringtonp</dc:creator>
    <dc:date>2010-10-22T03:27:07Z</dc:date>
    <item>
      <title>How to enter hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75161#M181304</link>
      <description>&lt;P&gt;What is the proper format to put hosts in the tags.conf file?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2010 22:49:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75161#M181304</guid>
      <dc:creator>Shane</dc:creator>
      <dc:date>2010-10-21T22:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75162#M181305</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[host=yourhostname]
your_first_tagname = enabled
your_second_tagname = enabled
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To validate that it's working, run a search for &lt;CODE&gt;host=yourhostname&lt;/CODE&gt;, and a search for &lt;CODE&gt;tag::host=your_first_tagname&lt;/CODE&gt;. Both should return the same results.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2010 23:09:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75162#M181305</guid>
      <dc:creator>southeringtonp</dc:creator>
      <dc:date>2010-10-21T23:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75163#M181306</link>
      <description>&lt;P&gt;I know this is going to sound bad but what I tried isn't working. &lt;BR /&gt;
If my device is named Router1 and the IP is 10.0.0.1 would it be &lt;/P&gt;

&lt;P&gt;[host=Router1] &lt;BR /&gt;
your_first_tagname = enabled &lt;BR /&gt;
your_second_tagname = enabled &lt;/P&gt;

&lt;P&gt;Also, do I have to restart SPUNK when I update the tags.conf file?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:19:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75163#M181306</guid>
      <dc:creator>Shane</dc:creator>
      <dc:date>2020-09-28T09:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75164#M181307</link>
      <description>&lt;P&gt;It needs to match the value of the host field in the index. Run a search for &lt;CODE&gt;host="Router1"&lt;/CODE&gt;, and run a search for &lt;CODE&gt;host="10.0.0.1"&lt;/CODE&gt;. Whichever of those returns actual results is the one you need to use. A reboot should not be required&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2010 23:58:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75164#M181307</guid>
      <dc:creator>southeringtonp</dc:creator>
      <dc:date>2010-10-21T23:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75165#M181308</link>
      <description>&lt;P&gt;So now I have in the [host="router1.mycompany.com"] which is what returns results in the search.  I'm still not getting anything.  Is there something I need to put for the other two lines?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2010 00:35:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75165#M181308</guid>
      <dc:creator>Shane</dc:creator>
      <dc:date>2010-10-22T00:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75166#M181309</link>
      <description>&lt;P&gt;Try it without the quotes.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2010 03:27:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75166#M181309</guid>
      <dc:creator>southeringtonp</dc:creator>
      <dc:date>2010-10-22T03:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75167#M181310</link>
      <description>&lt;P&gt;I'm still not seeing anything.  Is there a log file I can check out to see what's not working?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2010 03:43:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75167#M181310</guid>
      <dc:creator>Shane</dc:creator>
      <dc:date>2010-10-22T03:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75168#M181311</link>
      <description>&lt;P&gt;I was not testing it that way but now that I have your last statement is correct.  When I put the tag:: in front of the word host it doesn't come back with any results.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2010 05:46:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75168#M181311</guid>
      <dc:creator>Shane</dc:creator>
      <dc:date>2010-10-22T05:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75169#M181312</link>
      <description>&lt;P&gt;And you're entering the hostname &lt;EM&gt;exactly&lt;/EM&gt; the same way in search and in tags.conf? In your messages above, you refer to the machine in several different ways - the unqualified hostname Router1, fqdn router1.mycompany.com, and IP address 10.0.0.1. Make sure that you are picking one form and using the exact same name everywhere. Also, make sure you're putting your tags.conf file in the right place. When in doubt, you probably want it in $SPLUNK_HOME/etc/apps/search/local/tags.conf.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Oct 2010 06:45:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75169#M181312</guid>
      <dc:creator>southeringtonp</dc:creator>
      <dc:date>2010-10-23T06:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75170#M181313</link>
      <description>&lt;P&gt;I would generally suggest using lookup tables rather than tags, unless you need users to be able to edit tags in the UI.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Oct 2010 09:38:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75170#M181313</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-10-24T09:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75171#M181314</link>
      <description>&lt;P&gt;Doesn't that introduce a performance penalty if you're trying to search by certain classes of host?  e.g., if you have lots of Windows servers, all logging with the same sourcetype, and wanted to search for just events from domain controllers... Wouldn't &lt;CODE&gt;search tag::host=domain_controller&lt;/CODE&gt; be faster than &lt;CODE&gt;search lookup_result=domain_controller&lt;/CODE&gt;. I've always thought that the former would be expanded early enough in the process to be able to leverage the &lt;CODE&gt;host&lt;/CODE&gt; field in the index, where the second would have to pull back data from all hosts before filtering down.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Oct 2010 11:01:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75171#M181314</guid>
      <dc:creator>southeringtonp</dc:creator>
      <dc:date>2010-10-24T11:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75172#M181315</link>
      <description>&lt;P&gt;no. automatic lookups are reversed and only retrieve matching hosts.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2010 03:13:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75172#M181315</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-10-25T03:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75173#M181316</link>
      <description>&lt;P&gt;How would I implement lookup tables?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2010 03:49:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75173#M181316</guid>
      <dc:creator>Shane</dc:creator>
      <dc:date>2010-10-26T03:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75174#M181317</link>
      <description>&lt;P&gt;It didn't work for me... Could someone please, give a example of tags.conf?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2010 01:01:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75174#M181317</guid>
      <dc:creator>mamaral</dc:creator>
      <dc:date>2010-11-04T01:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75175#M181318</link>
      <description>&lt;P&gt;So I figured out that my problem is that I'm using Splunk on a Windows box.  I ended up having the engineer from Splunk that I've been working with contact the author of the app and he said it had to be on a Linux platform.  Thanks for all the help everyone.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2010 05:35:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-enter-hosts/m-p/75175#M181318</guid>
      <dc:creator>Shane</dc:creator>
      <dc:date>2010-11-24T05:35:43Z</dc:date>
    </item>
  </channel>
</rss>

