<?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: need search with if condition in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/need-search-with-if-condition/m-p/555016#M157525</link>
    <description>&lt;P&gt;its working now! Appreciate!&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jun 2021 05:45:33 GMT</pubDate>
    <dc:creator>avikc100</dc:creator>
    <dc:date>2021-06-09T05:45:33Z</dc:date>
    <item>
      <title>need search with if condition</title>
      <link>https://community.splunk.com/t5/Splunk-Search/need-search-with-if-condition/m-p/554998#M157519</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-06-08 at 8.57.22 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14549i3756F053B01A49D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-06-08 at 8.57.22 PM.png" alt="Screen Shot 2021-06-08 at 8.57.22 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am getting data in this format now.&lt;BR /&gt;but i need to show only those row where sum of all column values are &amp;gt; 500&lt;BR /&gt;&lt;BR /&gt;am trying somethign like this. am new so unable to form the query, please help&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;index=b2b_wm_core &amp;nbsp;sourcetype=wm_woheaderdetail_log logType="header" type="proc" woCountInFile | bin woCountInFile span=10.1 |&amp;nbsp;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;search if(count(woCountInFile &amp;lt; 70) &amp;gt; 500) | timechart &amp;nbsp;span=1h &amp;nbsp;count by woCountInFile&lt;/STRONG&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Jun 2021 04:02:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/need-search-with-if-condition/m-p/554998#M157519</guid>
      <dc:creator>avikc100</dc:creator>
      <dc:date>2021-06-09T04:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: need search with if condition</title>
      <link>https://community.splunk.com/t5/Splunk-Search/need-search-with-if-condition/m-p/555009#M157524</link>
      <description>&lt;P&gt;If the existing columns are what you initial expect before your &amp;gt;500 test, then simply add the following to the end of your query&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| addtotals
| where Total&amp;gt;500
| fields - Total&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 05:20:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/need-search-with-if-condition/m-p/555009#M157524</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2021-06-09T05:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: need search with if condition</title>
      <link>https://community.splunk.com/t5/Splunk-Search/need-search-with-if-condition/m-p/555016#M157525</link>
      <description>&lt;P&gt;its working now! Appreciate!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 05:45:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/need-search-with-if-condition/m-p/555016#M157525</guid>
      <dc:creator>avikc100</dc:creator>
      <dc:date>2021-06-09T05:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: need search with if condition</title>
      <link>https://community.splunk.com/t5/Splunk-Search/need-search-with-if-condition/m-p/555044#M157535</link>
      <description>&lt;P&gt;If it works for you, please mark the question as solved, so others can benefit&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 08:31:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/need-search-with-if-condition/m-p/555044#M157535</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2021-06-09T08:31:53Z</dc:date>
    </item>
  </channel>
</rss>

