<?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: Base64: Parsing an XML file using kv_mode=xml, how to get the Base64 script &amp;quot;recurse&amp;quot; and decode more than the first line? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Base64-Parsing-an-XML-file-using-kv-mode-xml-how-to-get-the/m-p/218069#M23768</link>
    <description>&lt;P&gt;something to try.  split mv field, decode, recombine.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | mvexpand yourbase64 | base64 field=yourbase64 action=“decode"  | mvcombine yourbase64
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 24 May 2016 14:40:20 GMT</pubDate>
    <dc:creator>jhedgpeth</dc:creator>
    <dc:date>2016-05-24T14:40:20Z</dc:date>
    <item>
      <title>Base64: Parsing an XML file using kv_mode=xml, how to get the Base64 script "recurse" and decode more than the first line?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Base64-Parsing-an-XML-file-using-kv-mode-xml-how-to-get-the/m-p/218068#M23767</link>
      <description>&lt;P&gt;I'm parsing an XML file using the &lt;CODE&gt;kv_mode=xml&lt;/CODE&gt; in my props.conf and that's all good and well. &lt;/P&gt;

&lt;P&gt;However, these XMLs that are coming back as a payload from another app are formatted like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;host&amp;gt;PC11&amp;lt;/host&amp;gt;
&amp;lt;Registry&amp;gt;
&amp;lt;Value&amp;gt;AbBccDlllK[...]&amp;lt;/Value&amp;gt;
&amp;lt;Value&amp;gt;AbBccDQQqq[...]&amp;lt;/Value&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In the Search app, the tables format correctly and I get multiple values per host. These values are on separate lines, but not being treated as separate events. I'm fine with that part. &lt;/P&gt;

&lt;P&gt;The Values are in Base64. I downloaded the base64 app and ran a decode string against the source type and it worked, but only for the first value of every host. Any ideas on how to make the base64 script "recurse" and decode more than the first line?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2015 19:19:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Base64-Parsing-an-XML-file-using-kv-mode-xml-how-to-get-the/m-p/218068#M23767</guid>
      <dc:creator>lchumley</dc:creator>
      <dc:date>2015-11-03T19:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Base64: Parsing an XML file using kv_mode=xml, how to get the Base64 script "recurse" and decode more than the first line?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Base64-Parsing-an-XML-file-using-kv-mode-xml-how-to-get-the/m-p/218069#M23768</link>
      <description>&lt;P&gt;something to try.  split mv field, decode, recombine.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | mvexpand yourbase64 | base64 field=yourbase64 action=“decode"  | mvcombine yourbase64
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 May 2016 14:40:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Base64-Parsing-an-XML-file-using-kv-mode-xml-how-to-get-the/m-p/218069#M23768</guid>
      <dc:creator>jhedgpeth</dc:creator>
      <dc:date>2016-05-24T14:40:20Z</dc:date>
    </item>
  </channel>
</rss>

