<?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: filtering search results in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/filtering-search-results/m-p/35457#M6456</link>
    <description>&lt;P&gt;sample of the area I'm talking about:&lt;/P&gt;

&lt;P&gt;"&lt;BR /&gt;
Subject:&lt;BR /&gt;
    Security ID:        S-1-5-18&lt;BR /&gt;
    Account Name:       SERVERNAME$&lt;BR /&gt;
    Account Domain:     PORT&lt;BR /&gt;
    Logon ID:       0x3e7&lt;/P&gt;

&lt;P&gt;Logon Type:         10&lt;/P&gt;

&lt;P&gt;Account For Which Logon Failed:&lt;BR /&gt;
    Security ID:        S-1-0-0&lt;BR /&gt;
    Account Name:       bubba&lt;BR /&gt;
    Account Domain:     PORT&lt;BR /&gt;
"&lt;/P&gt;

&lt;P&gt;I just want to know about Bubba's failed logon, not "SERVERNAME$" or "-". This can't be the first time this has been asked...&lt;/P&gt;</description>
    <pubDate>Wed, 25 Apr 2012 14:28:02 GMT</pubDate>
    <dc:creator>Michael</dc:creator>
    <dc:date>2012-04-25T14:28:02Z</dc:date>
    <item>
      <title>filtering search results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/filtering-search-results/m-p/35454#M6453</link>
      <description>&lt;P&gt;I have a very simple search/chart to look for failed logons on my domain:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;EventCode=4625 Account_Name="*" | timechart count by Account_Name&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Problem is, MS in their wisdom has decided to include two entries in the event called "Account_Name", one that is never used (labelled as "-") and the actual one you want.&lt;/P&gt;

&lt;P&gt;So, when I do the query (chart), I get a combination of the account names that failed AND a bogus account ("-") that skews all the results with what's basically an overall total.&lt;/P&gt;

&lt;P&gt;How can I simply tell it to NOT show the "-" in the results of the search?&lt;/P&gt;

&lt;P&gt;Something to the effect of (yes, I know this doesn't work): &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;EventCode=4625 Account_Name="*" | timechart count by Account_Name | NOT "-"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
(please don't tell me to write regex to fix this... &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2012 13:48:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/filtering-search-results/m-p/35454#M6453</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2012-04-25T13:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: filtering search results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/filtering-search-results/m-p/35455#M6454</link>
      <description>&lt;P&gt;Does this works?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;EventCode=4625 Account_Name="*" NOT Account_Name="*-*" | timechart count by Account_Name
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2012 14:05:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/filtering-search-results/m-p/35455#M6454</guid>
      <dc:creator>krusty</dc:creator>
      <dc:date>2012-04-25T14:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: filtering search results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/filtering-search-results/m-p/35456#M6455</link>
      <description>&lt;P&gt;Those results filter it down alright, but it finds the instances where the "-" is replaced by the name of the server -- that's just as bad as having a boat full of "-" as results -- it doesn't boil it down the account names that failed a logon.&lt;/P&gt;

&lt;P&gt;So I guess an extension of my original quest is to return the Account_Names -- without the "-" or the name of the server (why is the servername even listed as an Account Name anyways, Redmond? geez!).&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2012 14:25:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/filtering-search-results/m-p/35456#M6455</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2012-04-25T14:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: filtering search results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/filtering-search-results/m-p/35457#M6456</link>
      <description>&lt;P&gt;sample of the area I'm talking about:&lt;/P&gt;

&lt;P&gt;"&lt;BR /&gt;
Subject:&lt;BR /&gt;
    Security ID:        S-1-5-18&lt;BR /&gt;
    Account Name:       SERVERNAME$&lt;BR /&gt;
    Account Domain:     PORT&lt;BR /&gt;
    Logon ID:       0x3e7&lt;/P&gt;

&lt;P&gt;Logon Type:         10&lt;/P&gt;

&lt;P&gt;Account For Which Logon Failed:&lt;BR /&gt;
    Security ID:        S-1-0-0&lt;BR /&gt;
    Account Name:       bubba&lt;BR /&gt;
    Account Domain:     PORT&lt;BR /&gt;
"&lt;/P&gt;

&lt;P&gt;I just want to know about Bubba's failed logon, not "SERVERNAME$" or "-". This can't be the first time this has been asked...&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2012 14:28:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/filtering-search-results/m-p/35457#M6456</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2012-04-25T14:28:02Z</dc:date>
    </item>
  </channel>
</rss>

