<?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: Dumping XML logs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Dumping-XML-logs/m-p/153611#M31220</link>
    <description>&lt;P&gt;Thanks strive but I went through all these links. There is no solution over there. All the conversations are stuck at one point. Hence failure. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jul 2014 12:48:18 GMT</pubDate>
    <dc:creator>20065945</dc:creator>
    <dc:date>2014-07-23T12:48:18Z</dc:date>
    <item>
      <title>Dumping XML logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Dumping-XML-logs/m-p/153609#M31218</link>
      <description>&lt;P&gt;I want to dump the following XML log file keeping in mind the fact that it should give all the tags as a fields such that I could search the events where &lt;/P&gt;

&lt;P&gt;Text="Application: Directory started" Category="BIG" Module="WorkflowHost"&lt;/P&gt;

&lt;P&gt;What should I write in props.conf&lt;/P&gt;

&lt;P&gt;&lt;MESSAGE&gt;&lt;BR /&gt;
    &lt;ID&gt;b476f836-36dd-4c30-9a8e-0587c5d34b8d&lt;/ID&gt;&lt;BR /&gt;
    &lt;DATE&gt;2014-01-09 10:45:31.69&lt;/DATE&gt;&lt;BR /&gt;
    &lt;TEXT&gt;Application: Directory started&lt;/TEXT&gt;&lt;BR /&gt;
    &lt;CATEGORY&gt;BIG&lt;/CATEGORY&gt;&lt;BR /&gt;
    &lt;SOURCE&gt;Workflow&lt;/SOURCE&gt;&lt;BR /&gt;
    &lt;LEVEL&gt;Event&lt;/LEVEL&gt;&lt;BR /&gt;
    &lt;CLASS&gt;General&lt;/CLASS&gt;&lt;BR /&gt;
    &lt;MODULE&gt;WorkflowHost&lt;/MODULE&gt;&lt;BR /&gt;
    &lt;METHOD&gt;&lt;/METHOD&gt;&lt;BR /&gt;
    &lt;FILENAME&gt;&lt;/FILENAME&gt;&lt;BR /&gt;
    &lt;LINENUMBER&gt;0&lt;/LINENUMBER&gt;&lt;BR /&gt;
    &lt;PROCESSID&gt;5420&lt;/PROCESSID&gt;&lt;BR /&gt;
    &lt;USER&gt;e2ac3262e9b9d03f&lt;/USER&gt;&lt;BR /&gt;
    &lt;PARAMETERS&gt;&lt;/PARAMETERS&gt;&lt;BR /&gt;
&lt;/MESSAGE&gt;&lt;BR /&gt;
&lt;MESSAGE&gt;&lt;BR /&gt;
    &lt;ID&gt;b476f836-36dd-4c30-9a8e-0587c5d34b8d&lt;/ID&gt;&lt;BR /&gt;
    &lt;DATE&gt;2014-01-09 10:45:41.57&lt;/DATE&gt;&lt;BR /&gt;
    &lt;TEXT&gt;Application: PatientDirectory started&lt;/TEXT&gt;&lt;BR /&gt;
    &lt;CATEGORY&gt;BIG&lt;/CATEGORY&gt;&lt;BR /&gt;
    &lt;SOURCE&gt;PatientDirectory&lt;/SOURCE&gt;&lt;BR /&gt;
    &lt;LEVEL&gt;Event&lt;/LEVEL&gt;&lt;BR /&gt;
    &lt;CLASS&gt;General&lt;/CLASS&gt;&lt;BR /&gt;
    &lt;MODULE&gt;PatientDirectory&lt;/MODULE&gt;&lt;BR /&gt;
    &lt;METHOD&gt;&lt;/METHOD&gt;&lt;BR /&gt;
    &lt;FILENAME&gt;&lt;/FILENAME&gt;&lt;BR /&gt;
    &lt;LINENUMBER&gt;0&lt;/LINENUMBER&gt;&lt;BR /&gt;
    &lt;PROCESSID&gt;2180&lt;/PROCESSID&gt;&lt;BR /&gt;
    &lt;USER&gt;e2ac3262e9b9d03f&lt;/USER&gt;&lt;BR /&gt;
    &lt;PARAMETERS&gt;&lt;/PARAMETERS&gt;&lt;BR /&gt;
&lt;/MESSAGE&gt;&lt;BR /&gt;
&lt;MESSAGE&gt;&lt;BR /&gt;
    &lt;ID&gt;b476f836-36dd-4c30-9a8e-0587c5d34b8d&lt;/ID&gt;&lt;BR /&gt;
    &lt;DATE&gt;2014-01-09 10:45:42.15&lt;/DATE&gt;&lt;BR /&gt;
    &lt;TEXT&gt;Application: Report started&lt;/TEXT&gt;&lt;BR /&gt;
    &lt;CATEGORY&gt;BIG&lt;/CATEGORY&gt;&lt;BR /&gt;
    &lt;SOURCE&gt;Workflow&lt;/SOURCE&gt;&lt;BR /&gt;
    &lt;LEVEL&gt;Event&lt;/LEVEL&gt;&lt;BR /&gt;
    &lt;CLASS&gt;General&lt;/CLASS&gt;&lt;BR /&gt;
    &lt;MODULE&gt;WorkflowHost&lt;/MODULE&gt;&lt;BR /&gt;
    &lt;METHOD&gt;&lt;/METHOD&gt;&lt;BR /&gt;
    &lt;FILENAME&gt;&lt;/FILENAME&gt;&lt;BR /&gt;
    &lt;LINENUMBER&gt;0&lt;/LINENUMBER&gt;&lt;BR /&gt;
    &lt;PROCESSID&gt;5420&lt;/PROCESSID&gt;&lt;BR /&gt;
    &lt;USER&gt;e2ac3262e9b9d03f&lt;/USER&gt;&lt;BR /&gt;
    &lt;PARAMETERS&gt;&lt;/PARAMETERS&gt;&lt;BR /&gt;
&lt;/MESSAGE&gt;&lt;BR /&gt;
PLs help....:)&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2014 05:32:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Dumping-XML-logs/m-p/153609#M31218</guid>
      <dc:creator>20065945</dc:creator>
      <dc:date>2014-07-23T05:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dumping XML logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Dumping-XML-logs/m-p/153610#M31219</link>
      <description>&lt;P&gt;Check these&lt;BR /&gt;&lt;BR /&gt;
&lt;A href="http://"&gt;http://answers.splunk.com/answers/52391/xml-input&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;A href="http://"&gt;http://answers.splunk.com/answers/683/xml-input-line-breaking-and-field-extraction-how&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://"&gt;http://answers.splunk.com/answers/29212/extracting-xml-log-files&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2014 05:46:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Dumping-XML-logs/m-p/153610#M31219</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2014-07-23T05:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dumping XML logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Dumping-XML-logs/m-p/153611#M31220</link>
      <description>&lt;P&gt;Thanks strive but I went through all these links. There is no solution over there. All the conversations are stuck at one point. Hence failure. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2014 12:48:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Dumping-XML-logs/m-p/153611#M31220</guid>
      <dc:creator>20065945</dc:creator>
      <dc:date>2014-07-23T12:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dumping XML logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Dumping-XML-logs/m-p/153612#M31221</link>
      <description>&lt;P&gt;This works fine for me with your sample data.&lt;/P&gt;

&lt;P&gt;On Indexer, &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;props.conf

[thexml]
BREAK_ONLY_BEFORE = ^\&amp;lt;message\&amp;gt;
MAX_TIMESTAMP_LOOKAHEAD = 150
NO_BINARY_CHECK = 1
pulldown_type = 1
REPORT-xmlext = xmlkv-alternative

transforms.conf

[xmlkv-alternative]
REGEX = &amp;lt;([^\s\&amp;gt;]*)[^\&amp;gt;]*\&amp;gt;([^&amp;lt;]*)\&amp;lt;\/\1\&amp;gt;
FORMAT = $1::$2
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Jul 2014 15:01:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Dumping-XML-logs/m-p/153612#M31221</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-07-23T15:01:03Z</dc:date>
    </item>
  </channel>
</rss>

