<?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 one user name from search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Excluding-one-user-name-from-search/m-p/73992#M18582</link>
    <description>&lt;P&gt;I tried:&lt;/P&gt;

&lt;P&gt;(index=infrastructure-os OR index=main) sudo "incorrect password attempt*" |rex field=_raw "sudo:[^a-z]+(?&lt;USER&gt;[^ ]+) : (?&lt;FAILURES&gt;[0-9]+) incorrect"|stats sum(failures) by user, host NOT user="addm"&lt;/FAILURES&gt;&lt;/USER&gt;&lt;/P&gt;

&lt;P&gt;but get the following error when I try:&lt;/P&gt;

&lt;P&gt;Error in 'stats' command: The argument 'user=addm' is invalid.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Dec 2012 14:41:01 GMT</pubDate>
    <dc:creator>robK123</dc:creator>
    <dc:date>2012-12-28T14:41:01Z</dc:date>
    <item>
      <title>Excluding one user name from search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Excluding-one-user-name-from-search/m-p/73990#M18580</link>
      <description>&lt;P&gt;I have this search:&lt;/P&gt;

&lt;P&gt;(index=infrastructure-os OR index=main) sudo "incorrect password attempt*" |rex field=_raw "sudo:[^a-z]+(?&lt;USER&gt;[^ ]+) : (?&lt;FAILURES&gt;[0-9]+) incorrect"|stats sum(failures) by user, host&lt;/FAILURES&gt;&lt;/USER&gt;&lt;/P&gt;

&lt;P&gt;But I am unsure how to exclude one user called addmm from the results as I do not want to see that one.&lt;/P&gt;

&lt;P&gt;Thanks, &lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2012 13:58:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Excluding-one-user-name-from-search/m-p/73990#M18580</guid>
      <dc:creator>robK123</dc:creator>
      <dc:date>2012-12-28T13:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding one user name from search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Excluding-one-user-name-from-search/m-p/73991#M18581</link>
      <description>&lt;P&gt;try &lt;BR /&gt;
 NOT user="addmm"&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2012 14:27:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Excluding-one-user-name-from-search/m-p/73991#M18581</guid>
      <dc:creator>jangid</dc:creator>
      <dc:date>2012-12-28T14:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding one user name from search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Excluding-one-user-name-from-search/m-p/73992#M18582</link>
      <description>&lt;P&gt;I tried:&lt;/P&gt;

&lt;P&gt;(index=infrastructure-os OR index=main) sudo "incorrect password attempt*" |rex field=_raw "sudo:[^a-z]+(?&lt;USER&gt;[^ ]+) : (?&lt;FAILURES&gt;[0-9]+) incorrect"|stats sum(failures) by user, host NOT user="addm"&lt;/FAILURES&gt;&lt;/USER&gt;&lt;/P&gt;

&lt;P&gt;but get the following error when I try:&lt;/P&gt;

&lt;P&gt;Error in 'stats' command: The argument 'user=addm' is invalid.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2012 14:41:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Excluding-one-user-name-from-search/m-p/73992#M18582</guid>
      <dc:creator>robK123</dc:creator>
      <dc:date>2012-12-28T14:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding one user name from search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Excluding-one-user-name-from-search/m-p/73993#M18583</link>
      <description>&lt;P&gt;There's 2 ways to filter out the user.&lt;BR /&gt;
append either :&lt;/P&gt;

&lt;P&gt;| search NOT user="addm"&lt;/P&gt;

&lt;P&gt;or&lt;/P&gt;

&lt;P&gt;| where user!="addm"&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2012 16:05:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Excluding-one-user-name-from-search/m-p/73993#M18583</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2012-12-28T16:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding one user name from search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Excluding-one-user-name-from-search/m-p/73994#M18584</link>
      <description>&lt;P&gt;That worked perfectly thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2012 16:43:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Excluding-one-user-name-from-search/m-p/73994#M18584</guid>
      <dc:creator>robK123</dc:creator>
      <dc:date>2012-12-28T16:43:36Z</dc:date>
    </item>
  </channel>
</rss>

