<?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 extract data from logfiles in XML format? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-data-from-logfiles-in-XML-format/m-p/117730#M24485</link>
    <description>&lt;P&gt;I decided to indulge in a preprocessing approach.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jun 2014 11:11:51 GMT</pubDate>
    <dc:creator>chezbert</dc:creator>
    <dc:date>2014-06-25T11:11:51Z</dc:date>
    <item>
      <title>How to extract data from logfiles in XML format?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-data-from-logfiles-in-XML-format/m-p/117729#M24484</link>
      <description>&lt;P&gt;I have set up a universal forwarder to monitor my&lt;BR /&gt;
server logfile.  The file is written in XML format&lt;BR /&gt;
and thus has a header and footer of:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;rps_logfile version="1.0"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;/rps_logfile&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;respectively.&lt;/P&gt;

&lt;P&gt;As the server produces log output, it appends to the file by&lt;BR /&gt;
backing up over the footer, writing the new entry, and re-writing&lt;BR /&gt;
the footer.&lt;/P&gt;

&lt;P&gt;This causes the universal forwarder to send redundant information&lt;BR /&gt;
and the splunkd receiving the data seems to get confused sometimes.&lt;/P&gt;

&lt;P&gt;What are my options for having the header &amp;amp; footer ignored or&lt;BR /&gt;
having the forwarder send only the truly new information?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2014 14:53:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-data-from-logfiles-in-XML-format/m-p/117729#M24484</guid>
      <dc:creator>chezbert</dc:creator>
      <dc:date>2014-06-24T14:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract data from logfiles in XML format?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-data-from-logfiles-in-XML-format/m-p/117730#M24485</link>
      <description>&lt;P&gt;I decided to indulge in a preprocessing approach.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2014 11:11:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-data-from-logfiles-in-XML-format/m-p/117730#M24485</guid>
      <dc:creator>chezbert</dc:creator>
      <dc:date>2014-06-25T11:11:51Z</dc:date>
    </item>
  </channel>
</rss>

