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

We are working on something new...

A Fresh New Splunkbase
We are designing a New Splunkbase to improve search and discoverability of apps. Check out our new and improved features like Categories and Collections. New Splunkbase is currently in preview mode, as it is under active development. We welcome you to navigate New Splunkbase and give us feedback.

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 MQTT Modular Input
SHA256 checksum (mqtt-modular-input_180.tgz) c2f97c7a52b721f8ce5aaf3619abd80ef81f2db42695090ebdd14d77340e8abe SHA256 checksum (mqtt-modular-input_179.tgz) f757bfa651e47ae43f800958288037513845d21d93b215baaec4e10af72d770d SHA256 checksum (mqtt-modular-input_178.tgz) b951f74ac91b35463b8a6c53ad21b986121e5c09f1d5e937daa9bb326181aa3a SHA256 checksum (mqtt-modular-input_177.tgz) f8cfd57c301a87c79242bde6706d17282c0321da4e9fde8f6fed5d714df5d8f4 SHA256 checksum (mqtt-modular-input_175.tgz) 94a56762d0aa8be60ebca965fdc86b062781b903a75bd2377e86dcb570c86c23 SHA256 checksum (mqtt-modular-input_174.tgz) 41cfa5039cfbd46d82ce4e682b004656e5439a7ccc35de11a6c6c49b8d6a3389 SHA256 checksum (mqtt-modular-input_172.tgz) 8a113d2d03d49dbc7a6ff3226318e0b4b641d250b6f9ba5041fc73c726726434 SHA256 checksum (mqtt-modular-input_171.tgz) 3a84975e9c98c866b32847fc63a7f1ff62f2662f30ee2e36d93c0d51bb2794aa SHA256 checksum (mqtt-modular-input_170.tgz) c714f2b194b41b9152b7129232d4125738b8a31573e8faf19845508a65c8fa3c SHA256 checksum (mqtt-modular-input_163.tgz) 76602a3a6527c61500251875cf334666b3dcc01052317de0bd135735da983661 SHA256 checksum (mqtt-modular-input_162.tgz) b93701770e6e42e9dcfaf7c56638c2e69770e9e5808049ccec6d8884aa109500 SHA256 checksum (mqtt-modular-input_161.tgz) 5f0acf69e05778004468de060bc8e11c74796ff3634dc257dd0e9dbdc51b1810 SHA256 checksum (mqtt-modular-input_16.tgz) 70dde45b2ece72e6ba700008d3dbd1ae41673fd965a5959841cb8bf489d7101b SHA256 checksum (mqtt-modular-input_15.tgz) fec0e1ad468707b0d1423f6d505acda19446a47b09d4952e647dd9b46d9c5c63 SHA256 checksum (mqtt-modular-input_14.tgz) 34c0ccd3ee747f2607bf692f0591270776e6580c1562cdd2a590019b82299311 SHA256 checksum (mqtt-modular-input_13.tgz) 08936dfd3461e76635969844ff125e610cb189264a29f00cf19c349d86cd8465 SHA256 checksum (mqtt-modular-input_123.tgz) bbb803ba515fb2d33391c86bc6e756265e2a83c0f207afdbb27b19360ba34b19 SHA256 checksum (mqtt-modular-input_122.tgz) 7244ae5aecbfd6a1251e3e62c84287677fb91988b65f3dab234f74f48cbfc7fc SHA256 checksum (mqtt-modular-input_121.tgz) 48e8459b7eb8ebea0e386030bf57ec9f349e975da9148e818bca16c2ab563e90 SHA256 checksum (mqtt-modular-input_12.tgz) 13fb25f95c59e68b85f6fd2867c79443d514d14d2f3ae2047a09711e88907942 SHA256 checksum (mqtt-modular-input_11.tgz) 1134b3d656bdf0a8cc23c60a13ec4aa6cf2f7932ee17eba100b87484f1f4e561 SHA256 checksum (mqtt-modular-input_10.tgz) 3a864c5495115c2e4a86f450a993d894bfb750e011314778e3410e338a3a43fe SHA256 checksum (mqtt-modular-input_091.tgz) 2d3169a1c2dc179d39939d50c9d8c5b58743c7ccb096edf55d4bac86109ad51c SHA256 checksum (mqtt-modular-input_09.tgz) fe5b78a28b20dff6c71080ca0cf58224f09be020235f314456b1ca54d7b26ce7 SHA256 checksum (mqtt-modular-input_08.tgz) 5a2e5066d19aceb7870345792e12a34dd9bfa0eced5aed8698f30e5bcd71b74b SHA256 checksum (mqtt-modular-input_06.tgz) a3797dc43787e8739dfc2eebabe570789d7cfbb184d3980f461985addb363844 SHA256 checksum (mqtt-modular-input_05.tgz) cdfe0090e09b46f4477ac3677d13279720f25c7560232dc07a59a267428f4899
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

MQTT Modular Input

Overview
Details
This is a Splunk Modular Input Add-On for indexing messages from a MQTT Broker.

The Python code in this App is dual 2.7/3 compatible.
This version of the App enforces Python 3 for execution of the modular input script when running on Splunk 8+ in order to satisfy Splunkbase AppInspect requirements.
If running this App on Splunk versions prior to 8 , then Python 2.7 will get executed.

For details of the support we offer for our Apps , browse to : https://www.baboonbones.com/#support

This App is fully AppInspect passed for installing in your own hosted Splunk Enterprise environments or on your own hosted Splunk Forwarders and forwarding the collected data into Splunk Cloud.

If you want to install this App directly in Splunk Cloud , for our Commercially supported customers on our Ultra plan ( https://www.baboonbones.com/#support ) we provide custom private builds of any of our Apps tailored to the customer's specific requirements and configuration , and these custom private builds can then be uploaded as your own private Splunk Cloud Apps.

For customers that don't have support, we also offer the option to perform ad-hoc custom private builds of any of our Apps.

Browse to https://www.baboonbones.com/#cloud for more details of our Cloud options and offerings.

Release Notes

Version 1.8.0
Jan. 1, 2024

updated the Java SDK

Version 1.7.9
Oct. 12, 2022

updated the Java SDK

Version 1.7.8
June 18, 2022
  • added support for custom MQTT URLs

  • upgraded internal logging libraries to Log4j2 v2.17.2

Version 1.7.7
May 25, 2022
  • Added Websockets support

  • The app performs periodic socket pings to the splunkd management port to determine if splunkd is still alive and if splunkd is not responding , usually because it has exited or is not network reachable, then the app self exits it's running java process.The default timeout is now 300 seconds. You can change this timeout value in bin/mqtt.py by setting the SPLUNKD_TIMEOUT_SECS variable.

Version 1.7.5
April 3, 2022

In order to support huge modular input configuration xml strings when users want to run a very large number of inputs on 1 single instance of the MQTT Modular Input , we had to change the way that mqtt.py invokes it's child java process. Previously the xml string was passed as a program argument which could break the max argument size in the Linux kernel. Now we changed the logic to pass the xml string to the java process via the STDIN pipe.

Version 1.7.4
Dec. 23, 2021

fixed a bug in getting credentials from storage/passwords
upgraded internal logging libraries to Log4j2 v2.17.0

Version 1.7.2
Dec. 15, 2021

upgraded internal logging libraries to Log4j2 v2.16.0

Version 1.7.1
Dec. 11, 2021

upgraded internal logging libraries to Log4j2 v2.15.0

Version 1.7.0
Sept. 8, 2021
  • general updates to meet latest Cloud Vetting requirements
  • moved password out of inputs.conf , browse to the Setup Credentials menu tab and enter any MQTT usernames/passwords you require.
  • activation key is now setup globally via a menu tab
  • removed the HEC output option, default is now stdout
Version 1.6.3
Oct. 6, 2020

upgraded logging functionality

Version 1.6.2
Sept. 29, 2020

docs update

Version 1.6.1
Aug. 30, 2020

added a setup page to encrypt any credentials you require in your configuration

Version 1.6
Aug. 23, 2020

enforced python3 for execution of the modular input script.If you require Python2.7 , then download a prior version (such as 1.5).

Version 1.5
May 16, 2020

Dual Python 2.7 and 3+ compatibility.

App will run on :

Splunk Enterprise versions back to Splunk 5 where there is only a Python 2.7 runtime shipped
Splunk Enterprise version 8 where there is both a Python 2.7 and Python 3+ runtime shipped
Future versions of Splunk Enterprise where there is only a Python 3+ runtime

Version 1.4
March 4, 2020

added support for HTTP Event Collector raw endpoint and using a host other than the default localhost

Version 1.3
Dec. 30, 2019

added JAXB dependencies for JRE 9+
fixed Splunk 8 compatibility for manager.xml file

Version 1.2.3
May 10, 2019

cosmetic fixes

Version 1.2.2
April 23, 2019

updated docs

Version 1.2.1
April 19, 2019

added trial key functionality

Version 1.2
March 28, 2019

docs updated

Version 1.1
June 3, 2018

minor manager xml ui tweak for 7.1

Version 1.0
May 27, 2018

Added an activation key requirement , visit http://www.baboonbones.com/#activation to obtain a free,non-expiring key
Docs updated
Splunk 7.1 compatible

Version 0.9.1
Nov. 26, 2015

Fixed subscription loop

Version 0.9
Nov. 24, 2015

Minor HEC data handling tweaks

Version 0.8
Sept. 22, 2015

Added support to optional output to Splunk via a HEC (HTTP Event Collector) endpoint

Version 0.6
Feb. 11, 2015

Enabled TLS1.2 support by default.
Made the core Modular Input Framework compatible with latest Splunk Java SDK
Please use a Java Runtime version 7+
If you need to use SSLv3 , you can turn this on in bin/mqtt.py
SECURE_TRANSPORT = "tls"

SECURE_TRANSPORT = "ssl"

Version 0.5
Oct. 22, 2014

Initial Beta Release


Subscribe Share

Are you a developer?

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

Follow Us:
Splunk, Splunk>,Turn Data Into Doing, Data-to-Everything, and D2E are trademarks or 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.