<?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: Can you help me extract an event between tags? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Can-you-help-me-extract-an-event-between-tags/m-p/411287#M6655</link>
    <description>&lt;P&gt;yes you are right sorry&lt;/P&gt;</description>
    <pubDate>Mon, 26 Nov 2018 10:39:16 GMT</pubDate>
    <dc:creator>jip31</dc:creator>
    <dc:date>2018-11-26T10:39:16Z</dc:date>
    <item>
      <title>Can you help me extract an event between tags?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Can-you-help-me-extract-an-event-between-tags/m-p/411285#M6653</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;I have XML logs and I want to extract all the text between these tags&lt;BR /&gt;
What is the better way to do this please???&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; "&amp;lt;Data&amp;gt;&amp;lt;EventData&amp;gt;&amp;lt;/Data&amp;gt;&amp;lt;/EventData&amp;gt;"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 26 Nov 2018 10:08:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Can-you-help-me-extract-an-event-between-tags/m-p/411285#M6653</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-11-26T10:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me extract an event between tags?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Can-you-help-me-extract-an-event-between-tags/m-p/411286#M6654</link>
      <description>&lt;P&gt;That doesn't look like valid XML, are you sure the tags occur in that order? I would expect the &lt;CODE&gt;&amp;lt;/Data&amp;gt;&lt;/CODE&gt; to come behind the &lt;CODE&gt;&amp;lt;/EventData&amp;gt;&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 10:21:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Can-you-help-me-extract-an-event-between-tags/m-p/411286#M6654</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-11-26T10:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me extract an event between tags?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Can-you-help-me-extract-an-event-between-tags/m-p/411287#M6655</link>
      <description>&lt;P&gt;yes you are right sorry&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 10:39:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Can-you-help-me-extract-an-event-between-tags/m-p/411287#M6655</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-11-26T10:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me extract an event between tags?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Can-you-help-me-extract-an-event-between-tags/m-p/411288#M6656</link>
      <description>&lt;P&gt;Assuming this is related to you other question, the EventData_Xml field is already extracted and looks like &lt;CODE&gt;&amp;lt;Data&amp;gt;...text...&amp;lt;/Data&amp;gt;&lt;/CODE&gt;, right?&lt;/P&gt;

&lt;P&gt;So you want to get the part from between the Data tags?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rex field=EventData_Xml "\&amp;lt;Data\&amp;gt;(?&amp;lt;EventData_Data&amp;gt;[^\&amp;lt;]+)\&amp;lt;\/Data\&amp;gt;"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="https://regex101.com/r/rd8Qtp/1"&gt;https://regex101.com/r/rd8Qtp/1&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 12:47:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Can-you-help-me-extract-an-event-between-tags/m-p/411288#M6656</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-11-26T12:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me extract an event between tags?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Can-you-help-me-extract-an-event-between-tags/m-p/411289#M6657</link>
      <description>&lt;P&gt;many thanks&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 06:01:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Can-you-help-me-extract-an-event-between-tags/m-p/411289#M6657</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-11-27T06:01:28Z</dc:date>
    </item>
  </channel>
</rss>

