<?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 use where command to keep only specific rows? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-where-command-to-keep-only-specific-rows/m-p/364214#M169975</link>
    <description>&lt;P&gt;Just add:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| where type1 &amp;gt; (2 * type2)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 26 Apr 2018 00:45:01 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2018-04-26T00:45:01Z</dc:date>
    <item>
      <title>How to use where command to keep only specific rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-where-command-to-keep-only-specific-rows/m-p/364213#M169974</link>
      <description>&lt;P&gt;My query so far looks like this:&lt;/P&gt;

&lt;P&gt;sourcetype="type1" OR sourcetype="type2" |chart count(sales1) over sales2 by sourcetype &lt;/P&gt;

&lt;P&gt;How would I pipe in | where ..&lt;/P&gt;

&lt;P&gt;so that it only keeps rows where the value in type1 is greater than twice the value in type2?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 23:45:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-where-command-to-keep-only-specific-rows/m-p/364213#M169974</guid>
      <dc:creator>summitsplunk</dc:creator>
      <dc:date>2018-04-25T23:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to use where command to keep only specific rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-where-command-to-keep-only-specific-rows/m-p/364214#M169975</link>
      <description>&lt;P&gt;Just add:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| where type1 &amp;gt; (2 * type2)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 Apr 2018 00:45:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-where-command-to-keep-only-specific-rows/m-p/364214#M169975</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-04-26T00:45:01Z</dc:date>
    </item>
  </channel>
</rss>

