<?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: What's the difference between host=abc and host::abc in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/What-s-the-difference-between-host-abc-and-host-abc/m-p/286960#M86867</link>
    <description>&lt;P&gt;The &lt;CODE&gt;::&lt;/CODE&gt; syntax has some older history that is no longer relevant. &lt;/P&gt;

&lt;P&gt;These days the &lt;CODE&gt;::&lt;/CODE&gt; syntax is used to indicate in your base search that the &lt;CODE&gt;field::value&lt;/CODE&gt; pair is indexed. If a field is indexed then it means that we can take advantage of this all the way down to the index level of filtering. Where for search time extracted fields we can only take partial advantage of the index. Fields are indexed they are one of the built in fields as mentioned by @lstewart, you can define fields to be indexed as described &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/Data/Configureindex-timefieldextraction"&gt;here&lt;/A&gt;, and finally if you are indexing CSV or JSON as structured data the fields from that data will be indexed as well.&lt;/P&gt;

&lt;P&gt;In general because of the additional filtering that can be done with the indexes themselves, if you know that across all your data sources that a field is indexed it is very beneficial to performance to use the '::' syntax, if you use it on a field that is not indexed it can filter out events unexpectedly.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jun 2016 19:32:44 GMT</pubDate>
    <dc:creator>cpride_splunk</dc:creator>
    <dc:date>2016-06-14T19:32:44Z</dc:date>
    <item>
      <title>What's the difference between host=abc and host::abc</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-s-the-difference-between-host-abc-and-host-abc/m-p/286957#M86864</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Was reading some doc (&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/Search/Writebettersearches"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.1/Search/Writebettersearches&lt;/A&gt;) and it mentions this new way of searching for indexed fields - Specify indexed fields with &lt;CODE&gt;&amp;lt;field&amp;gt;::&amp;lt;value&amp;gt;&lt;/CODE&gt; -   Curious on what this does and how it's better than the traditional method.&lt;/P&gt;

&lt;P&gt;Also, is there a way to determine which fields are indexed fields?&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jun 2016 20:57:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-s-the-difference-between-host-abc-and-host-abc/m-p/286957#M86864</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2016-06-05T20:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: What's the difference between host=abc and host::abc</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-s-the-difference-between-host-abc-and-host-abc/m-p/286958#M86865</link>
      <description>&lt;P&gt;There are some very subtle differences but I am not aware of anything that would make one more efficient than the other.  The main thing is that the &lt;CODE&gt;::&lt;/CODE&gt; syntax is the original syntax that was upgraded to allow for the more obvious &lt;CODE&gt;=&lt;/CODE&gt; syntax which became the standard.  I am surprised to see the older syntax creep back into the documentation.  It is probably a documentation oversight and the thrust of this comment in context has has nothing to do with &lt;CODE&gt;::&lt;/CODE&gt; vs. &lt;CODE&gt;=&lt;/CODE&gt; but rather specifying values for fields early in the search, particularly for those that are indexed.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jun 2016 21:46:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-s-the-difference-between-host-abc-and-host-abc/m-p/286958#M86865</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-06-05T21:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: What's the difference between host=abc and host::abc</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-s-the-difference-between-host-abc-and-host-abc/m-p/286959#M86866</link>
      <description>&lt;P&gt;Here is a link to the list of indexed fields (see the table).&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/Data/Aboutdefaultfields"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.1/Data/Aboutdefaultfields&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 01:40:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-s-the-difference-between-host-abc-and-host-abc/m-p/286959#M86866</guid>
      <dc:creator>lstewart_splunk</dc:creator>
      <dc:date>2016-06-14T01:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: What's the difference between host=abc and host::abc</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-s-the-difference-between-host-abc-and-host-abc/m-p/286960#M86867</link>
      <description>&lt;P&gt;The &lt;CODE&gt;::&lt;/CODE&gt; syntax has some older history that is no longer relevant. &lt;/P&gt;

&lt;P&gt;These days the &lt;CODE&gt;::&lt;/CODE&gt; syntax is used to indicate in your base search that the &lt;CODE&gt;field::value&lt;/CODE&gt; pair is indexed. If a field is indexed then it means that we can take advantage of this all the way down to the index level of filtering. Where for search time extracted fields we can only take partial advantage of the index. Fields are indexed they are one of the built in fields as mentioned by @lstewart, you can define fields to be indexed as described &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/Data/Configureindex-timefieldextraction"&gt;here&lt;/A&gt;, and finally if you are indexing CSV or JSON as structured data the fields from that data will be indexed as well.&lt;/P&gt;

&lt;P&gt;In general because of the additional filtering that can be done with the indexes themselves, if you know that across all your data sources that a field is indexed it is very beneficial to performance to use the '::' syntax, if you use it on a field that is not indexed it can filter out events unexpectedly.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 19:32:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-s-the-difference-between-host-abc-and-host-abc/m-p/286960#M86867</guid>
      <dc:creator>cpride_splunk</dc:creator>
      <dc:date>2016-06-14T19:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: What's the difference between host=abc and host::abc</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-s-the-difference-between-host-abc-and-host-abc/m-p/286961#M86868</link>
      <description>&lt;P&gt;That is fantastic!  The documentation definitely needs to make this more clear.  I will be using this frequently now.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 19:36:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-s-the-difference-between-host-abc-and-host-abc/m-p/286961#M86868</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-06-14T19:36:41Z</dc:date>
    </item>
  </channel>
</rss>

