<?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 remove specified values of a field from a table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-specified-values-of-a-field-from-a-table/m-p/461478#M191399</link>
    <description>&lt;P&gt;@ganinurceski &lt;/P&gt;

&lt;P&gt;Can you please share some sample data &amp;amp; expected output?&lt;/P&gt;</description>
    <pubDate>Fri, 13 Dec 2019 12:30:29 GMT</pubDate>
    <dc:creator>kamlesh_vaghela</dc:creator>
    <dc:date>2019-12-13T12:30:29Z</dc:date>
    <item>
      <title>How to remove specified values of a field from a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-specified-values-of-a-field-from-a-table/m-p/461477#M191398</link>
      <description>&lt;P&gt;Hello there!&lt;BR /&gt;
I need some help. I have a table, and in that table, there are are a "SHORT_ID", "DATA1 -&amp;gt; ERROR" &amp;amp; "DATA2 -&amp;gt; NO_ERROR" Row. Now I want to remove all results, where the DATA1 Field has a value of 0, zero.&lt;/P&gt;

&lt;P&gt;The String look like this...&lt;BR /&gt;
&lt;EM&gt;index= tag= DATA="000000108000000400000058&lt;/EM&gt;" OR "000000198000000400000000000*" | rex field=DATA "(?P"000000108000000400000058")" | rex field=DATA "(?P"000000198000000400000000")"   | chart  count by SHORT_ID, ERROR   | rename  000000108000000400000058 as ERROR   | sort  - ERROR   | rename  NULL as NO_ERROR*&lt;/P&gt;

&lt;P&gt;I want to remove every Value of NO_ERROR which has zero in it.&lt;BR /&gt;
I hope the question is clear &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
Thx for response&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:19:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-specified-values-of-a-field-from-a-table/m-p/461477#M191398</guid>
      <dc:creator>ganinurceski</dc:creator>
      <dc:date>2020-09-30T03:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove specified values of a field from a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-specified-values-of-a-field-from-a-table/m-p/461478#M191399</link>
      <description>&lt;P&gt;@ganinurceski &lt;/P&gt;

&lt;P&gt;Can you please share some sample data &amp;amp; expected output?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 12:30:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-specified-values-of-a-field-from-a-table/m-p/461478#M191399</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2019-12-13T12:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove specified values of a field from a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-specified-values-of-a-field-from-a-table/m-p/461479#M191400</link>
      <description>&lt;P&gt;If I understand the question correctly, you need to add &lt;CODE&gt;| where  ERROR!=0&lt;/CODE&gt; to the end of your query.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 12:53:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-specified-values-of-a-field-from-a-table/m-p/461479#M191400</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-12-13T12:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove specified values of a field from a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-specified-values-of-a-field-from-a-table/m-p/461480#M191401</link>
      <description>&lt;P&gt;Thx for response!&lt;BR /&gt;
I've added &lt;EM&gt;| search NOT ERROR="0"&lt;/EM&gt; and it worked!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 13:17:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-specified-values-of-a-field-from-a-table/m-p/461480#M191401</guid>
      <dc:creator>ganinurceski</dc:creator>
      <dc:date>2019-12-13T13:17:01Z</dc:date>
    </item>
  </channel>
</rss>

