<?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: Removing a Pattern from the search result in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Removing-a-Pattern-from-the-search-result/m-p/369555#M108889</link>
    <description>&lt;P&gt;Hi Jaiarchi, some more details needed.. what is ur current search query, some sample log lines..&lt;/P&gt;

&lt;P&gt;maybe try this one - &lt;BR /&gt;
&lt;CODE&gt;Index=indexName xyz NOT (xyz_I OR xyz_S)&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jun 2017 10:46:08 GMT</pubDate>
    <dc:creator>inventsekar</dc:creator>
    <dc:date>2017-06-23T10:46:08Z</dc:date>
    <item>
      <title>Removing a Pattern from the search result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Removing-a-Pattern-from-the-search-result/m-p/369554#M108888</link>
      <description>&lt;P&gt;I am searching for a string "xyz" that would result in all actionsteps (with counts) that has "xyz" in it, However I want to remove any string that ends with &lt;EM&gt;xyz&lt;/EM&gt;_I or &lt;EM&gt;xyz&lt;/EM&gt;_S.&lt;/P&gt;

&lt;P&gt;Would someone be able to help me on this please.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:38:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Removing-a-Pattern-from-the-search-result/m-p/369554#M108888</guid>
      <dc:creator>jaiarchi</dc:creator>
      <dc:date>2020-09-29T14:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Removing a Pattern from the search result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Removing-a-Pattern-from-the-search-result/m-p/369555#M108889</link>
      <description>&lt;P&gt;Hi Jaiarchi, some more details needed.. what is ur current search query, some sample log lines..&lt;/P&gt;

&lt;P&gt;maybe try this one - &lt;BR /&gt;
&lt;CODE&gt;Index=indexName xyz NOT (xyz_I OR xyz_S)&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 10:46:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Removing-a-Pattern-from-the-search-result/m-p/369555#M108889</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2017-06-23T10:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Removing a Pattern from the search result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Removing-a-Pattern-from-the-search-result/m-p/369556#M108890</link>
      <description>&lt;P&gt;HI  jaiarchi,&lt;BR /&gt;
If I correctly understood: do you want to have all events where there is the string xyz but not the ones where there are xyz_I or xyz_S?&lt;BR /&gt;
if this is your requirement you have to insert in your search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your_search "xyz" NOT ("xyz_I" OR "xyz_S") | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:38:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Removing-a-Pattern-from-the-search-result/m-p/369556#M108890</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-29T14:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Removing a Pattern from the search result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Removing-a-Pattern-from-the-search-result/m-p/369557#M108891</link>
      <description>&lt;P&gt;Show us the sample events and indicate the ones to keep and the ones not to keep (calling out field names/values).&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 14:09:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Removing-a-Pattern-from-the-search-result/m-p/369557#M108891</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-06-23T14:09:32Z</dc:date>
    </item>
  </channel>
</rss>

