<?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 to search a Multi line windows event in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-search-a-Multi-line-windows-event/m-p/35501#M6463</link>
    <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rex "(?ms)Accesses:\w+(?&amp;lt;MVAccesses&amp;gt;.*)$" | rex field=MVAccesses mode=sed "s/\n/:::/g" | makemv delim=":::" MVAccesses
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now your event contains a &lt;CODE&gt;multi-value field&lt;/CODE&gt; called &lt;CODE&gt;MVAccesses&lt;/CODE&gt; and you can do your work with that.&lt;/P&gt;</description>
    <pubDate>Sun, 05 Jul 2015 18:56:14 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-07-05T18:56:14Z</dc:date>
    <item>
      <title>How to search a Multi line windows event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-search-a-Multi-line-windows-event/m-p/35500#M6462</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm trying to search a multiline event from a windows server. I need to find out which changes was made with a file. So I have to parse the Accesses. The field Accesses show me only the first entry but I need them all. &lt;BR /&gt;
Have you any idea how I can search the events and find out the differnet accesses of a file?&lt;/P&gt;

&lt;P&gt;For example an excerpt of the event.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    Accesses:   READ_CONTROL 
        ReadData (or ListDirectory) 
        WriteData (or AddFile) 
        AppendData (or AddSubdirectory or CreatePipeInstance) 
        ReadEA 
        WriteEA 
        ReadAttributes 
        WriteAttributes
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;At the end of my search I will show a report where I can see which operation will be done with the files. It should shown as a table. But first I have to figure out how to get the values out of the multiline event. &lt;/P&gt;

&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2012 13:59:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-search-a-Multi-line-windows-event/m-p/35500#M6462</guid>
      <dc:creator>krusty</dc:creator>
      <dc:date>2012-04-25T13:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to search a Multi line windows event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-search-a-Multi-line-windows-event/m-p/35501#M6463</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rex "(?ms)Accesses:\w+(?&amp;lt;MVAccesses&amp;gt;.*)$" | rex field=MVAccesses mode=sed "s/\n/:::/g" | makemv delim=":::" MVAccesses
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now your event contains a &lt;CODE&gt;multi-value field&lt;/CODE&gt; called &lt;CODE&gt;MVAccesses&lt;/CODE&gt; and you can do your work with that.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jul 2015 18:56:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-search-a-Multi-line-windows-event/m-p/35501#M6463</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-07-05T18:56:14Z</dc:date>
    </item>
  </channel>
</rss>

