icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading Base64 encode or decode fields using Perl instead of Python
SHA256 checksum (base64-encode-or-decode-fields-using-perl-instead-of-python_024.tgz) 2c5d5e85d142a791ee16cd03d317f4e275e22871e8698388f6b58a4ce271f911 SHA256 checksum (base64-encode-or-decode-fields-using-perl-instead-of-python_023.tgz) 7cbd9e10f97b1dab1af39cea8b0e12817e946ada7c35f29f5a5a7cdea9f9fc37 SHA256 checksum (base64-encode-or-decode-fields-using-perl-instead-of-python_022.tgz) 176caa950865db72514b1aa77ae68c917a95ed8feeb01ea4bfb8003473fa8c02 SHA256 checksum (base64-encode-or-decode-fields-using-perl-instead-of-python_021.tgz) 0b36a7e8649d7e048e686923a863d7d4a201e422281d705ebe22de77f7ad9138 SHA256 checksum (base64-encode-or-decode-fields-using-perl-instead-of-python_020.tgz) a7bc72cd256b1302213b28d90a1b320ea2ed5ecd5721317bfb386ae939167508 SHA256 checksum (base64-encode-or-decode-fields-using-perl-instead-of-python_011.tgz) 6a3c62753eabfd0df7894831db49c9e6400de78af247ac0137d27e4b774acde2 SHA256 checksum (base64-encode-or-decode-fields-using-perl-instead-of-python_010.tgz) 803ba1aa024d04e32301fe564324fcf0d16f27611ad886f7ace880dc1977614a
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

Base64 encode or decode fields using Perl instead of Python

Splunk AppInspect Passed
Overview
Details
A Perl version of Cedric Le Roux base64 encode/decode. A limitation exists in Base64 Python lib that made me develop this Perl version: it does not handle padding the right way.

This Perl version provides two advantages over the Python version:
- speed: about 2x faster thanks to Text::CSV_XS Perl module
- padding: don't worry about padding issues anymore

This Perl version provides two advantages over the Python version:
- speed: about 2x faster thanks to Text::CSV_XS Perl module
- padding: don't worry about padding issues anymore

You will have to install come Perl modules:

cpanm Text::CSV_XS
cpanm URI::Escape

If you don't have cpanminus, try with standard cpan:

cpan install Text::CSV_XS
cpan install URI::Escape

Examples:

index= | base64pl
index=
| base64pl action=encode field=_raw | based64pl action=decode field=_raw
index= | base64pl field=_raw
index=
| base64pl mode=append field=process action=encode | table _raw, b64_process

Release Notes

Version 0.2.4
March 19, 2019

Do not break multivalue fields

Version 0.2.3
March 19, 2019

bugfix: use Encode to handle utf8

Version 0.2.2
March 19, 2019

Remove dependance over Data::Dumper

Version 0.2.1
March 14, 2019

Changes to make the release pass automated Splunk tests.

Version 0.2.0
Oct. 3, 2015

Version 0.1.1
Oct. 3, 2015

- bugfix: do not retain events (huge speed improvement)

Version 0.1.0
Sept. 19, 2015

First try at porting Intersplunk to Perl.

38
Installs
220
Downloads
Share Subscribe LOGIN TO DOWNLOAD

Subscribe Share

AppInspect Tooling

Splunk AppInspect evaluates Splunk apps against a set of Splunk-defined criteria to assess the validity and security of an app package and components.

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 50GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps and add-ons from Splunk, our partners and our community. Find an app or add-on for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
© 2005-2019 Splunk Inc. All rights reserved.
Splunk®, Splunk>®, Listen to Your Data®, The Engine for Machine Data®, Hunk®, Splunk Cloud™, Splunk Light™, SPL™ and Splunk MINT™ are trademarks and registered trademarks of Splunk Inc. in the United States and other countries. All other brand names, product names, or trademarks belong to their respective owners.