<?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: Need help with indexing xml file. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-indexing-xml-file/m-p/91654#M19055</link>
    <description>&lt;P&gt;Sorry I just updated the sample with the correct one.  I'm using various samples to get this to work.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Mar 2012 16:28:31 GMT</pubDate>
    <dc:creator>the_wolverine</dc:creator>
    <dc:date>2012-03-14T16:28:31Z</dc:date>
    <item>
      <title>Need help with indexing xml file.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-indexing-xml-file/m-p/91652#M19053</link>
      <description>&lt;P&gt;I have XML in the following format that just refuses to break where I want it to -- &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;Object Type="Microsoft.Exchange.Management.SystemConfigurationTasks.AdminAuditLogEvent"&amp;gt;
    &amp;lt;Property Name="PSComputerName" Type="System.String"&amp;gt;name.domain.com&amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="RunspaceId" Type="System.Guid"&amp;gt;a9f50fb3-0099-4d21-9aa5-94ca475bdf29&amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="ObjectModified" Type="System.String"&amp;gt;domain.com/My DL's/National Sales&amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="CmdletName" Type="System.String"&amp;gt;Set-DistributionGroup&amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="CmdletParameters" Type="Microsoft.Exchange.Data.MultiValuedProperty`1[Microsoft.Exchange.Data.AdminAuditLogCmdletParameter]"&amp;gt;
      &amp;lt;Property Type="Microsoft.Exchange.Data.AdminAuditLogCmdletParameter"&amp;gt;Identity&amp;lt;/Property&amp;gt;
    &amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="ModifiedProperties" Type="Microsoft.Exchange.Data.MultiValuedProperty`1[Microsoft.Exchange.Data.AdminAuditLogModifiedProperty]" /&amp;gt;
    &amp;lt;Property Name="Caller" Type="System.String"&amp;gt;domain.com/MyAdmins/My IFS/Teddybear&amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="Succeeded" Type="System.Boolean"&amp;gt;True&amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="Error" Type="System.String"&amp;gt;None&amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="RunDate" Type="System.DateTime"&amp;gt;2/21/2012 4:37:03 PM&amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="OriginatingServer" Type="System.String"&amp;gt;name (14.01.0355.001)&amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="Identity" Type="Microsoft.Exchange.Management.SystemConfigurationTasks.AdminAuditLogEventId"&amp;gt;RgAAAABZuIMBsz9hQYkmHmoLVD/eBwAM6z4YqiUIR4tO45EQAXW1AAAQbMZ5AABtjri4d2KwT5AmW72j0ns8AAAiv258AAAJ&amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="IsValid" Type="System.Boolean"&amp;gt;True&amp;lt;/Property&amp;gt;
  &amp;lt;/Object&amp;gt;
  &amp;lt;Object Type="Microsoft.Exchange.Management.SystemConfigurationTasks.AdminAuditLogEvent"&amp;gt;
    &amp;lt;Property Name="PSComputerName" Type="System.String"&amp;gt;name.domain.com\x
00&amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="RunspaceId" Type="System.Guid"&amp;gt;a9f50fb3-0099-4d21-9aa5-94ca475bdf29&amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="ObjectModified" Type="System.String"&amp;gt;server.com/My DL's/Self Service/Engineering Communications&amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="CmdletName" Type="System.String"&amp;gt;Set-DistributionGroup&amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="CmdletParameters" Type="Microsoft.Exchange.Data.MultiValuedProperty`1[Microsoft.Exchange.Data.AdminAuditLogCmdletParameter]"&amp;gt;
      &amp;lt;Property Type="Microsoft.Exchange.Data.AdminAuditLogCmdletParameter"&amp;gt;Identity&amp;lt;/Property&amp;gt;
    &amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="ModifiedProperties" Type="Microsoft.Exchange.Data.MultiValuedProperty`1[Microsoft.Exchange.Data.AdminAuditLogModifiedProperty]" /&amp;gt;
    &amp;lt;Property Name="Caller" Type="System.String"&amp;gt;name.com/MyAdmins/My IFS/Teddybear&amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="Succeeded" Type="System.Boolean"&amp;gt;True&amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="Error" Type="System.String"&amp;gt;None&amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="RunDate" Type="System.DateTime"&amp;gt;2/21/2012 4:37:02 PM&amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="OriginatingServer" Type="System.String"&amp;gt;name (14.01.0355.001)&amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="Identity" Type="Microsoft.Exchange.Management.SystemConfigurationTasks.AdminAuditLogEventId"&amp;gt;RgAAAABZuIMBsz9hQYkmHmoLVD/eBwAM6z4YqiUIR4tO45EQAXW1AAAQbMZ5AABtjri4d2KwT5AmW72j0ns8AAAiv257AAAJ&amp;lt;/Property&amp;gt;
    &amp;lt;Property Name="IsValid" Type="System.Boolean"&amp;gt;True&amp;lt;/Property&amp;gt;
  &amp;lt;/Object&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[my_xml]
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = False
MAX_TIMESTAMP_LOOKAHEAD = 500
TIME_PREFIX = (?m)\s* Type="System.DateTime"&amp;gt;
LINE_BREAKER = &amp;lt;/Object&amp;gt;(\s*)&amp;lt;Object Type="Microsoft.Exchange.Management.SystemConfigurationTasks.AdminAuditLogEvent"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Mar 2012 04:34:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-indexing-xml-file/m-p/91652#M19053</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2012-03-14T04:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with indexing xml file.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-indexing-xml-file/m-p/91653#M19054</link>
      <description>&lt;P&gt;I don't see a tag called &lt;CODE&gt;&amp;lt;Object Type="Microsoft.Exchange.Management.SystemConfigurationTasks.AdminAuditLogEvent"&amp;gt;&lt;/CODE&gt; in your sample data? Either it's just omitted in the sample or it's the cause of why the &lt;CODE&gt;LINE_BREAKER&lt;/CODE&gt; won't apply.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2012 06:22:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-indexing-xml-file/m-p/91653#M19054</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-03-14T06:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with indexing xml file.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-indexing-xml-file/m-p/91654#M19055</link>
      <description>&lt;P&gt;Sorry I just updated the sample with the correct one.  I'm using various samples to get this to work.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2012 16:28:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-indexing-xml-file/m-p/91654#M19055</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2012-03-14T16:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with indexing xml file.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-indexing-xml-file/m-p/91655#M19056</link>
      <description>&lt;P&gt;I'm not entirely sure whether the &lt;CODE&gt;\s&lt;/CODE&gt; you're matching on will match newlines as well by default. Might want to try putting a &lt;CODE&gt;(?ms)&lt;/CODE&gt; at the start of the regex.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2012 07:30:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-indexing-xml-file/m-p/91655#M19056</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-03-15T07:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with indexing xml file.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-indexing-xml-file/m-p/91656#M19057</link>
      <description>&lt;P&gt;Perhaps you've misplaced it on the line above. I don't think TIME_PREFIX require a multiline specification.&lt;BR /&gt;
/k&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2012 06:08:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-indexing-xml-file/m-p/91656#M19057</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-03-27T06:08:49Z</dc:date>
    </item>
  </channel>
</rss>

