<?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: Parse an XML in splunk events in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Parse-an-XML-in-splunk-events/m-p/465398#M57183</link>
    <description>&lt;P&gt;XMLKV command is more useful in this scenario. it automatically pulls all the xml fields and indexes them.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Apr 2020 15:32:48 GMT</pubDate>
    <dc:creator>p0p00aj</dc:creator>
    <dc:date>2020-04-01T15:32:48Z</dc:date>
    <item>
      <title>Parse an XML in splunk events</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Parse-an-XML-in-splunk-events/m-p/465395#M57180</link>
      <description>&lt;P&gt;I have data coming in to splunk from a SQL Table and one of the columns in the table has a XML. Is there a way we can parse that XML and extract fields in splunk??&lt;/P&gt;

&lt;P&gt;The XML is not always the same and keeps changing&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 14:47:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Parse-an-XML-in-splunk-events/m-p/465395#M57180</guid>
      <dc:creator>p0p00aj</dc:creator>
      <dc:date>2020-04-01T14:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Parse an XML in splunk events</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Parse-an-XML-in-splunk-events/m-p/465396#M57181</link>
      <description>&lt;P&gt;Look into the xpath command: &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Xpath"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Xpath&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 14:59:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Parse-an-XML-in-splunk-events/m-p/465396#M57181</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2020-04-01T14:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Parse an XML in splunk events</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Parse-an-XML-in-splunk-events/m-p/465397#M57182</link>
      <description>&lt;P&gt;Thanks for your message. I see xmlkv more useful for this scenario where the xml fields are automatically pulled.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 15:32:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Parse-an-XML-in-splunk-events/m-p/465397#M57182</guid>
      <dc:creator>p0p00aj</dc:creator>
      <dc:date>2020-04-01T15:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Parse an XML in splunk events</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Parse-an-XML-in-splunk-events/m-p/465398#M57183</link>
      <description>&lt;P&gt;XMLKV command is more useful in this scenario. it automatically pulls all the xml fields and indexes them.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 15:32:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Parse-an-XML-in-splunk-events/m-p/465398#M57183</guid>
      <dc:creator>p0p00aj</dc:creator>
      <dc:date>2020-04-01T15:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Parse an XML in splunk events</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Parse-an-XML-in-splunk-events/m-p/465399#M57184</link>
      <description>&lt;P&gt;If you can remove the cruft and ensure that the entire raw event is XML, then you can set &lt;CODE&gt;KV_MODE&lt;/CODE&gt; to &lt;CODE&gt;xml&lt;/CODE&gt; and it will automatically do dynamic field extraction.  Short of that, you can do it manually using &lt;CODE&gt;xpath&lt;/CODE&gt;:&lt;BR /&gt;
 &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Xpath"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Xpath&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 16:00:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Parse-an-XML-in-splunk-events/m-p/465399#M57184</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-04-01T16:00:49Z</dc:date>
    </item>
  </channel>
</rss>

