<?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: Exclude events with specific field value from results in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Exclude-events-with-specific-field-value-from-results/m-p/87400#M18123</link>
    <description>&lt;P&gt;You could simply add the search term "UserLoginName!=SYSTEM" or "NOT UserLoginName=SYSTEM" to the first command of your search :&lt;/P&gt;

&lt;P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
source="mysource" UserLoginName!="SYSTEM" | sort -_time | table UserLoginName _time | dedup UserLoginName&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;If you are curious to find out more about the search language and its syntax, I recommend to consult our search tutorial :&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/User/WelcometotheSplunktutorial"&gt;http://www.splunk.com/base/Documentation/latest/User/WelcometotheSplunktutorial&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 23 Apr 2011 18:54:57 GMT</pubDate>
    <dc:creator>hexx</dc:creator>
    <dc:date>2011-04-23T18:54:57Z</dc:date>
    <item>
      <title>Exclude events with specific field value from results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Exclude-events-with-specific-field-value-from-results/m-p/87399#M18122</link>
      <description>&lt;P&gt;How would I exclude all events which contain a specific field value from a set of search results?&lt;/P&gt;

&lt;P&gt;For instance:&lt;BR /&gt;
source="mysource" | sort -_time | table UserLoginName _time | dedup UserLoginName&lt;/P&gt;

&lt;P&gt;Gives me a table of usernames and last login time.&lt;/P&gt;

&lt;P&gt;I'd like to filter out one of the users (say, SYSTEM) from the results...&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2011 18:33:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Exclude-events-with-specific-field-value-from-results/m-p/87399#M18122</guid>
      <dc:creator>beaunewcomb</dc:creator>
      <dc:date>2011-04-23T18:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude events with specific field value from results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Exclude-events-with-specific-field-value-from-results/m-p/87400#M18123</link>
      <description>&lt;P&gt;You could simply add the search term "UserLoginName!=SYSTEM" or "NOT UserLoginName=SYSTEM" to the first command of your search :&lt;/P&gt;

&lt;P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
source="mysource" UserLoginName!="SYSTEM" | sort -_time | table UserLoginName _time | dedup UserLoginName&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;If you are curious to find out more about the search language and its syntax, I recommend to consult our search tutorial :&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/User/WelcometotheSplunktutorial"&gt;http://www.splunk.com/base/Documentation/latest/User/WelcometotheSplunktutorial&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2011 18:54:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Exclude-events-with-specific-field-value-from-results/m-p/87400#M18123</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2011-04-23T18:54:57Z</dc:date>
    </item>
  </channel>
</rss>

