<?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: XML Log File Question in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/XML-Log-File-Question/m-p/61034#M12123</link>
    <description>&lt;P&gt;if by using (2), it says "When set, Splunk creates a new event only if it encounters a new line that matches the&lt;BR /&gt;
  regular expression.". Would that mean my other logs (which are not configured this way) will be impacted someway?&lt;/P&gt;</description>
    <pubDate>Fri, 15 Mar 2013 01:57:45 GMT</pubDate>
    <dc:creator>wlsplunker</dc:creator>
    <dc:date>2013-03-15T01:57:45Z</dc:date>
    <item>
      <title>XML Log File Question</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/XML-Log-File-Question/m-p/61032#M12121</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I have an XML log file that looks something like this.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;matrix&amp;gt;
    &amp;lt;datasource&amp;gt;
    &amp;lt;name&amp;gt;ABC&amp;lt;/name&amp;gt;
    &amp;lt;/datasource&amp;gt;
    &amp;lt;datasource&amp;gt;
    &amp;lt;name&amp;gt;XYZ&amp;lt;/name&amp;gt;
    &amp;lt;/datasource&amp;gt;

    &amp;lt;datasource&amp;gt;
    &amp;lt;name&amp;gt;EFG&amp;lt;/name&amp;gt;
    &amp;lt;/datasource&amp;gt;
    &amp;lt;datasource&amp;gt;
    &amp;lt;name&amp;gt;RST&amp;lt;/name&amp;gt;
    &amp;lt;/datasource&amp;gt;
&amp;lt;/matrix&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Basically, this is one big file that updates itself every 5 minutes and should be &lt;/P&gt;

&lt;P&gt;read as a single entry for each refresh. Unfortunately, Splunk reads that &lt;/P&gt;

&lt;P&gt;seperately and chops them up when parsing. &lt;/P&gt;

&lt;P&gt;Is there a way to tell Splunk that it should read from &lt;MATRIX&gt; and end at &lt;/MATRIX&gt;&lt;/P&gt;

&lt;P&gt; for each event?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2013 11:10:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/XML-Log-File-Question/m-p/61032#M12121</guid>
      <dc:creator>wlsplunker</dc:creator>
      <dc:date>2013-03-14T11:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: XML Log File Question</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/XML-Log-File-Question/m-p/61033#M12122</link>
      <description>&lt;P&gt;Yes there is and can be done in two ways.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;use data preview (under New Data Input) to generate the sourcetype and event breaking for this file "matrix" for example.&lt;/LI&gt;
&lt;LI&gt;use props.conf to configure event breaking (see sections on BREAK_ONLY_BEFORE...)&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;&lt;CODE&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/admin/propsconf" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/admin/propsconf&lt;/A&gt;&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:30:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/XML-Log-File-Question/m-p/61033#M12122</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2020-09-28T13:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: XML Log File Question</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/XML-Log-File-Question/m-p/61034#M12123</link>
      <description>&lt;P&gt;if by using (2), it says "When set, Splunk creates a new event only if it encounters a new line that matches the&lt;BR /&gt;
  regular expression.". Would that mean my other logs (which are not configured this way) will be impacted someway?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2013 01:57:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/XML-Log-File-Question/m-p/61034#M12123</guid>
      <dc:creator>wlsplunker</dc:creator>
      <dc:date>2013-03-15T01:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: XML Log File Question</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/XML-Log-File-Question/m-p/61035#M12124</link>
      <description>&lt;P&gt;No, because &lt;CODE&gt;props.conf&lt;/CODE&gt; is organized into stanzas. The stanza header says which object (source, sourcetype or host) will be affected by the settings.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2013 02:03:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/XML-Log-File-Question/m-p/61035#M12124</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-03-15T02:03:07Z</dc:date>
    </item>
  </channel>
</rss>

