<?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: SEDCMD with multiline mode doesnt work in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/SEDCMD-with-multiline-mode-doesnt-work/m-p/193702#M38596</link>
    <description>&lt;P&gt;Got this working .. had to use both REGEX modifiers .. 'm' and 's' flags as below&lt;BR /&gt;&lt;BR /&gt;
SEDCMD-filter = s/(?ims)^Subject:.+Collapse$//g&lt;/P&gt;</description>
    <pubDate>Thu, 20 Mar 2014 00:03:54 GMT</pubDate>
    <dc:creator>noveix</dc:creator>
    <dc:date>2014-03-20T00:03:54Z</dc:date>
    <item>
      <title>SEDCMD with multiline mode doesnt work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SEDCMD-with-multiline-mode-doesnt-work/m-p/193700#M38594</link>
      <description>&lt;P&gt;Trying to discard part of an event using SEDCMD doesnt seem to work. I was expecting everything between 'Subject' .. and 'Collapse' strings be discarded, however its still appears in the index. I have ingested the logs multiple time using the correct sourcetype (windows:sec_event) ... still no luck !!&lt;/P&gt;

&lt;P&gt;Any pointers would be appreciated.&lt;/P&gt;

&lt;P&gt;props.conf entry&lt;/P&gt;

&lt;P&gt;[windows:sec_event]&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 50&lt;BR /&gt;
NO_BINARY_CHECK = 1&lt;BR /&gt;
pulldown_type = 1&lt;BR /&gt;
SEDCMD-filter = s/(?im)^Subject:.+Collapse$//g&lt;/P&gt;

&lt;P&gt;Log event :&lt;BR /&gt;&lt;BR /&gt;
03/13/2014 03:03:50 PM&lt;BR /&gt;
LogName=Security&lt;BR /&gt;
SourceName=Microsoft Windows security auditing.&lt;BR /&gt;
EventCode=4742&lt;BR /&gt;
EventType=0&lt;BR /&gt;
Type=Information&lt;BR /&gt;
ComputerName=test123.test.com.au&lt;BR /&gt;
TaskCategory=Computer Account Management&lt;BR /&gt;
OpCode=Info&lt;BR /&gt;
RecordNumber=171516223&lt;BR /&gt;
Keywords=Audit Success&lt;BR /&gt;
Message=A computer account was changed.&lt;/P&gt;

&lt;P&gt;Subject:&lt;BR /&gt;
            Security ID:                   NT AUTHORITY\ANONYMOUS LOGON&lt;BR /&gt;
            Account Name:             ANONYMOUS LOGON&lt;BR /&gt;
            Account Domain:                      NT AUTHORITY&lt;BR /&gt;
            Logon ID:                     0x3e6&lt;/P&gt;

&lt;P&gt;Computer Account That Was Changed:&lt;BR /&gt;
            Security ID:                   TEST\test$&lt;BR /&gt;
            Account Name:             test$&lt;BR /&gt;
            Account Domain:                      TEST&lt;/P&gt;

&lt;P&gt;Changed Attributes:&lt;BR /&gt;
            SAM Account Name:     -&lt;BR /&gt;
            Display Name:              -&lt;BR /&gt;
            User Principal Name:     -&lt;BR /&gt;
            Home Directory:                        -&lt;BR /&gt;
            Home Drive:                  -&lt;BR /&gt;
            Script Path:                   -&lt;BR /&gt;
            Profile Path:                  -&lt;BR /&gt;
            User Workstations:        -&lt;BR /&gt;
            Password Last Set:       13/03/2014 3:03:50 PM&lt;BR /&gt;
            Account Expires:                       -&lt;BR /&gt;
            Primary Group ID:         -&lt;BR /&gt;
            AllowedToDelegateTo:   -&lt;BR /&gt;
            Old UAC Value:             -&lt;BR /&gt;
            New UAC Value:                        -&lt;BR /&gt;
            User Account Control:   -&lt;BR /&gt;
            User Parameters:           -&lt;BR /&gt;
            SID History:                  -&lt;BR /&gt;
            Logon Hours:                -&lt;BR /&gt;
            DNS Host Name:                       -&lt;BR /&gt;
            Service Principal Names:           -&lt;/P&gt;

&lt;P&gt;Additional Information:&lt;BR /&gt;
            Privileges:                     -&lt;BR /&gt;
Collapse&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:10:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SEDCMD-with-multiline-mode-doesnt-work/m-p/193700#M38594</guid>
      <dc:creator>noveix</dc:creator>
      <dc:date>2020-09-28T16:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: SEDCMD with multiline mode doesnt work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SEDCMD-with-multiline-mode-doesnt-work/m-p/193701#M38595</link>
      <description>&lt;P&gt;Should I be logging this as a bug, I have tested the REGEX several times and its verified OK ..&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2014 21:47:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SEDCMD-with-multiline-mode-doesnt-work/m-p/193701#M38595</guid>
      <dc:creator>noveix</dc:creator>
      <dc:date>2014-03-19T21:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: SEDCMD with multiline mode doesnt work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SEDCMD-with-multiline-mode-doesnt-work/m-p/193702#M38596</link>
      <description>&lt;P&gt;Got this working .. had to use both REGEX modifiers .. 'm' and 's' flags as below&lt;BR /&gt;&lt;BR /&gt;
SEDCMD-filter = s/(?ims)^Subject:.+Collapse$//g&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2014 00:03:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SEDCMD-with-multiline-mode-doesnt-work/m-p/193702#M38596</guid>
      <dc:creator>noveix</dc:creator>
      <dc:date>2014-03-20T00:03:54Z</dc:date>
    </item>
  </channel>
</rss>

