<?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: How do I filter out values if they appear twice in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-filter-out-values-if-they-appear-twice/m-p/29720#M5136</link>
    <description>&lt;P&gt;Use multivalue fields and extract the one you want using mvindex.&lt;/P&gt;

&lt;P&gt;see &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.3/User/ParseFieldsWithMultipleValues"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.3/User/ParseFieldsWithMultipleValues&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Aug 2012 22:40:05 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2012-08-08T22:40:05Z</dc:date>
    <item>
      <title>How do I filter out values if they appear twice</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-filter-out-values-if-they-appear-twice/m-p/29719#M5135</link>
      <description>&lt;P&gt;I have this data from Windows security logs and in the message section you have 2 version of the account name:  I am only interested in the value of the second account string but I get both when putting into a table.  In this result set, Account Name is used in both the subject and the Account is locked section of the Message value; &lt;/P&gt;

&lt;P&gt;If my search is: &lt;BR /&gt;
sourcetype=WinEventLog:Security EventCode=4740 ComputerName="AD*"  |table _time Account_Name Caller_Computer_Name&lt;BR /&gt;
I get both account names;&lt;/P&gt;

&lt;P&gt;08/08/2012 03:32:32 PM&lt;BR /&gt;
LogName=Security&lt;BR /&gt;
SourceName=Microsoft Windows security auditing.&lt;BR /&gt;
EventCode=4740&lt;BR /&gt;
EventType=0&lt;BR /&gt;
Type=Information&lt;BR /&gt;
ComputerName=xxxx.xyz.com&lt;BR /&gt;
TaskCategory=User Account Management&lt;BR /&gt;
OpCode=Info&lt;BR /&gt;
RecordNumber=5886400217&lt;BR /&gt;
Keywords=Audit Success&lt;BR /&gt;
Message=A user account was locked out.&lt;/P&gt;

&lt;P&gt;Subject:&lt;BR /&gt;
    Security ID:        S-1-5-18&lt;BR /&gt;
    &lt;B&gt;Account Name:&lt;/B&gt;        ADSERVER3$&lt;BR /&gt;
    Account Domain:     MYDOMIAN&lt;BR /&gt;
    Logon ID:       0x3e7&lt;/P&gt;

&lt;P&gt;Account That Was Locked Out:&lt;BR /&gt;
    Security ID:        S-1-5-21-2108891353-1649483382-1341851483-2087&lt;BR /&gt;
    &lt;B&gt;Account Name:&lt;/B&gt;        mraccount&lt;/P&gt;

&lt;P&gt;Additional Information:&lt;BR /&gt;
    Caller Computer Name:   MAILSERVER&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2012 22:03:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-filter-out-values-if-they-appear-twice/m-p/29719#M5135</guid>
      <dc:creator>jneg2000us</dc:creator>
      <dc:date>2012-08-08T22:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I filter out values if they appear twice</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-filter-out-values-if-they-appear-twice/m-p/29720#M5136</link>
      <description>&lt;P&gt;Use multivalue fields and extract the one you want using mvindex.&lt;/P&gt;

&lt;P&gt;see &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.3/User/ParseFieldsWithMultipleValues"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.3/User/ParseFieldsWithMultipleValues&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2012 22:40:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-filter-out-values-if-they-appear-twice/m-p/29720#M5136</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-08-08T22:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I filter out values if they appear twice</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-filter-out-values-if-they-appear-twice/m-p/29721#M5137</link>
      <description>&lt;P&gt;awesome.. thanks worked&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2012 13:33:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-filter-out-values-if-they-appear-twice/m-p/29721#M5137</guid>
      <dc:creator>jneg2000us</dc:creator>
      <dc:date>2012-08-09T13:33:42Z</dc:date>
    </item>
  </channel>
</rss>

