<?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: Help understanding the commands - Search vs Where after first pipe in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Help-understanding-the-commands-Search-vs-Where-after-first-pipe/m-p/205628#M59786</link>
    <description>&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/389111/help-understanding-search-command-where.html"&gt;https://answers.splunk.com/answers/389111/help-understanding-search-command-where.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;TLDR; Use search if you can, use where if you need to do something complicated. &lt;/P&gt;

&lt;P&gt;See also: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.0/SearchReference/Where"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.0/SearchReference/Where&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Apr 2016 17:52:41 GMT</pubDate>
    <dc:creator>jplumsdaine22</dc:creator>
    <dc:date>2016-04-14T17:52:41Z</dc:date>
    <item>
      <title>Help understanding the commands - Search vs Where after first pipe</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-understanding-the-commands-Search-vs-Where-after-first-pipe/m-p/205626#M59784</link>
      <description>&lt;P&gt;Hi , Can you help me understanding "search" vs "where" command after first pipe. Is there any performance impact because of using either one?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 17:42:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-understanding-the-commands-Search-vs-Where-after-first-pipe/m-p/205626#M59784</guid>
      <dc:creator>Kukkadapu</dc:creator>
      <dc:date>2016-04-14T17:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help understanding the commands - Search vs Where after first pipe</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-understanding-the-commands-Search-vs-Where-after-first-pipe/m-p/205627#M59785</link>
      <description>&lt;P&gt;&lt;CODE&gt;where&lt;/CODE&gt; is used strictly for comparison operations (e.g. &lt;CODE&gt;fieldX!=fieldY&lt;/CODE&gt;, &lt;CODE&gt;numeric_field&amp;gt;500&lt;/CODE&gt;, etc.), whereas &lt;CODE&gt;search&lt;/CODE&gt; is used for actual search expressions (e.g. &lt;CODE&gt;search foo OR bar NOT field=x "and some phrase" OR whatever keywords you want etc.&lt;/CODE&gt;). &lt;/P&gt;

&lt;P&gt;I haven't tested the performance impact of the two but I assume if you are doing a comparison (because that's the only one you could do with both), the performance would be the same. You could try it both ways and use the job inspector to see what the completion time is for each way to determine which is faster for your use case.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 17:50:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-understanding-the-commands-Search-vs-Where-after-first-pipe/m-p/205627#M59785</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2016-04-14T17:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help understanding the commands - Search vs Where after first pipe</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-understanding-the-commands-Search-vs-Where-after-first-pipe/m-p/205628#M59786</link>
      <description>&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/389111/help-understanding-search-command-where.html"&gt;https://answers.splunk.com/answers/389111/help-understanding-search-command-where.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;TLDR; Use search if you can, use where if you need to do something complicated. &lt;/P&gt;

&lt;P&gt;See also: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.0/SearchReference/Where"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.0/SearchReference/Where&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 17:52:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-understanding-the-commands-Search-vs-Where-after-first-pipe/m-p/205628#M59786</guid>
      <dc:creator>jplumsdaine22</dc:creator>
      <dc:date>2016-04-14T17:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help understanding the commands - Search vs Where after first pipe</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-understanding-the-commands-Search-vs-Where-after-first-pipe/m-p/205629#M59787</link>
      <description>&lt;P&gt;Thanks for your time and links jplumsdaine22 :). &lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 18:37:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-understanding-the-commands-Search-vs-Where-after-first-pipe/m-p/205629#M59787</guid>
      <dc:creator>Kukkadapu</dc:creator>
      <dc:date>2016-04-14T18:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help understanding the commands - Search vs Where after first pipe</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-understanding-the-commands-Search-vs-Where-after-first-pipe/m-p/205630#M59788</link>
      <description>&lt;P&gt;That makes sense. Thanks for your time &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 18:37:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-understanding-the-commands-Search-vs-Where-after-first-pipe/m-p/205630#M59788</guid>
      <dc:creator>Kukkadapu</dc:creator>
      <dc:date>2016-04-14T18:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help understanding the commands - Search vs Where after first pipe</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-understanding-the-commands-Search-vs-Where-after-first-pipe/m-p/205631#M59789</link>
      <description>&lt;P&gt;Additionally, move as much filtering as you can into &lt;CODE&gt;search&lt;/CODE&gt; &lt;EM&gt;before&lt;/EM&gt; the first pipe.&lt;/P&gt;

&lt;P&gt;(Exception: Report Acceleration / Postprocessing / etc. scenarios where you pre-compute a data cube style thingy and feed many things off it, here filtering late can make sense)&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 22:11:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-understanding-the-commands-Search-vs-Where-after-first-pipe/m-p/205631#M59789</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-04-14T22:11:59Z</dc:date>
    </item>
  </channel>
</rss>

