<?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 Difference in Queries in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Difference-in-Queries/m-p/197428#M57042</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Though I'm receiving the same output for both my queries, curious to know the difference (executions, time taken, etc) between them.&lt;BR /&gt;
The bold part is the only change.&lt;/P&gt;

&lt;P&gt;index=PD host=ABC* uri="&lt;EM&gt;/XXXX&lt;/EM&gt;" &lt;STRONG&gt;AND (http_status="200" OR http_status="500")&lt;/STRONG&gt; | convert timeformat="%Y-%m-%d" ctime(_time) AS Date | stats count(eval(http_status="200")) as "HTTP 200", count(eval(http_status="500")) as "HTTP 500" by Date&lt;/P&gt;

&lt;P&gt;index=PD host=ABC* uri="&lt;EM&gt;/XXXX&lt;/EM&gt;" | convert timeformat="%Y-%m-%d" ctime(_time) AS Date | stats count(eval(http_status="200")) as "HTTP 200", count(eval(http_status="500")) as "HTTP 500" by Date&lt;/P&gt;

&lt;P&gt;Thanks &lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 18:06:52 GMT</pubDate>
    <dc:creator>koushiknandan</dc:creator>
    <dc:date>2020-09-28T18:06:52Z</dc:date>
    <item>
      <title>Difference in Queries</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Difference-in-Queries/m-p/197428#M57042</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Though I'm receiving the same output for both my queries, curious to know the difference (executions, time taken, etc) between them.&lt;BR /&gt;
The bold part is the only change.&lt;/P&gt;

&lt;P&gt;index=PD host=ABC* uri="&lt;EM&gt;/XXXX&lt;/EM&gt;" &lt;STRONG&gt;AND (http_status="200" OR http_status="500")&lt;/STRONG&gt; | convert timeformat="%Y-%m-%d" ctime(_time) AS Date | stats count(eval(http_status="200")) as "HTTP 200", count(eval(http_status="500")) as "HTTP 500" by Date&lt;/P&gt;

&lt;P&gt;index=PD host=ABC* uri="&lt;EM&gt;/XXXX&lt;/EM&gt;" | convert timeformat="%Y-%m-%d" ctime(_time) AS Date | stats count(eval(http_status="200")) as "HTTP 200", count(eval(http_status="500")) as "HTTP 500" by Date&lt;/P&gt;

&lt;P&gt;Thanks &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:06:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Difference-in-Queries/m-p/197428#M57042</guid>
      <dc:creator>koushiknandan</dc:creator>
      <dc:date>2020-09-28T18:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Difference in Queries</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Difference-in-Queries/m-p/197429#M57043</link>
      <description>&lt;P&gt;Splunk gives the kind of information you're looking for in the job inspector.  Take a look at it for each of your searches by clicking &lt;STRONG&gt;job&lt;/STRONG&gt; --&amp;gt; &lt;STRONG&gt;inspect job&lt;/STRONG&gt; and see if it has what you need.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2014 13:52:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Difference-in-Queries/m-p/197429#M57043</guid>
      <dc:creator>wpreston</dc:creator>
      <dc:date>2014-11-07T13:52:02Z</dc:date>
    </item>
  </channel>
</rss>

