<?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 do I create a custom command to decode base64 and remove null bytes? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-create-a-custom-command-to-decode-base64-and-remove/m-p/408418#M72413</link>
    <description>&lt;P&gt;thank you, I think I found some of this info already.&lt;BR /&gt;
will followup with specific questions&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 15 Aug 2018 15:24:33 GMT</pubDate>
    <dc:creator>Log_wrangler</dc:creator>
    <dc:date>2018-08-15T15:24:33Z</dc:date>
    <item>
      <title>How do I create a custom command to decode base64 and remove null bytes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-create-a-custom-command-to-decode-base64-and-remove/m-p/408416#M72411</link>
      <description>&lt;P&gt;I have tried all the base64 decoding apps in splunk base with no luck.  The apps decode the first character and stop at the first null.&lt;/P&gt;

&lt;P&gt;I want  to add a custom command (.py)  or script  that will decode the base64 encode field value and remove the nulls.  Preferrably, I would like a command I invoke at will with and eval, like &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|eval decoded_val = myCommand encoded_val | table decoded_val
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please advise how I would create a custom command like this.&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 20:22:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-create-a-custom-command-to-decode-base64-and-remove/m-p/408416#M72411</guid>
      <dc:creator>Log_wrangler</dc:creator>
      <dc:date>2018-08-14T20:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a custom command to decode base64 and remove null bytes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-create-a-custom-command-to-decode-base64-and-remove/m-p/408417#M72412</link>
      <description>&lt;P&gt;I find the documentation to be incredibly helpful.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.2/Search/Customsearchcommandshape"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.2/Search/Customsearchcommandshape&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.2/Search/Writeasearchcommand"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.2/Search/Writeasearchcommand&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/python-sdk/SP-CAAAEU2"&gt;http://dev.splunk.com/view/python-sdk/SP-CAAAEU2&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Take those links and look at my decimaltoip search command in my jkats toolkit app &lt;A href="https://splunkbase.splunk.com/app/3265/"&gt;https://splunkbase.splunk.com/app/3265/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Then modify for your use.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 21:40:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-create-a-custom-command-to-decode-base64-and-remove/m-p/408417#M72412</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2018-08-14T21:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a custom command to decode base64 and remove null bytes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-create-a-custom-command-to-decode-base64-and-remove/m-p/408418#M72413</link>
      <description>&lt;P&gt;thank you, I think I found some of this info already.&lt;BR /&gt;
will followup with specific questions&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 15:24:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-create-a-custom-command-to-decode-base64-and-remove/m-p/408418#M72413</guid>
      <dc:creator>Log_wrangler</dc:creator>
      <dc:date>2018-08-15T15:24:33Z</dc:date>
    </item>
  </channel>
</rss>

