<?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: Excluding string from events in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-filter-all-events-to-exclude-this-string/m-p/593291#M206505</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/240743"&gt;@POR160893&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;as&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;said, you have to use the search command or (better) put the string to exclude in the main search, something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=ironport sourcetype=cisco:wsa:squid NOT drminprtmgmt.isus.emc.com&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Mon, 11 Apr 2022 11:44:01 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-04-11T11:44:01Z</dc:date>
    <item>
      <title>How can I filter all events to exclude this string?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-filter-all-events-to-exclude-this-string/m-p/593279#M206497</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have an index of log events and I have been asked to exclude all events with a certain string in it. The String I need to omit is drminprtmgmt.isus.emc.com. This string (which represents a device) is not mapped to any field currently. How can I filter all events to exclude this string?&lt;BR /&gt;&lt;BR /&gt;This is currently what I have (which does NOT work):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="POR160893_0-1649672970092.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19022iE2F12F78EC13A37D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="POR160893_0-1649672970092.png" alt="POR160893_0-1649672970092.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Many thanks,&lt;BR /&gt;Patrick&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 15:45:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-filter-all-events-to-exclude-this-string/m-p/593279#M206497</guid>
      <dc:creator>POR160893</dc:creator>
      <dc:date>2022-04-11T15:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding string from events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-filter-all-events-to-exclude-this-string/m-p/593282#M206500</link>
      <description>&lt;P&gt;Don't use the "where" command - it's meant for boolean-evaluating conditions. Use the "search" command.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 10:47:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-filter-all-events-to-exclude-this-string/m-p/593282#M206500</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-04-11T10:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding string from events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-filter-all-events-to-exclude-this-string/m-p/593291#M206505</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/240743"&gt;@POR160893&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;as&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;said, you have to use the search command or (better) put the string to exclude in the main search, something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=ironport sourcetype=cisco:wsa:squid NOT drminprtmgmt.isus.emc.com&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 11:44:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-filter-all-events-to-exclude-this-string/m-p/593291#M206505</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-04-11T11:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding string from events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-filter-all-events-to-exclude-this-string/m-p/593314#M206510</link>
      <description>&lt;P&gt;This worked perfectly, thanks!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 13:25:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-filter-all-events-to-exclude-this-string/m-p/593314#M206510</guid>
      <dc:creator>POR160893</dc:creator>
      <dc:date>2022-04-11T13:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding string from events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-filter-all-events-to-exclude-this-string/m-p/593315#M206511</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/240743"&gt;@POR160893&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;good for you, if this answer solves your need, please accept it or the other people of Community, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 13:32:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-filter-all-events-to-exclude-this-string/m-p/593315#M206511</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-04-11T13:32:22Z</dc:date>
    </item>
  </channel>
</rss>

