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_181.tgz) a2088df58d20fa8bd79913ac58b6ef83e0f3f59e434004167944ed1a0a1640d8 SHA256 checksum (mqtt-modular-input_180.tgz) d749e32b35cc485783b505842af378bc6ad78b1a3636c2e2ce2828d3fac63854 SHA256 checksum (mqtt-modular-input_179.tgz) 0f7737c8dd4e51e1e00978f0a6a2220de0a23b5a0452c9fa0f9a87dc5061ec7a SHA256 checksum (mqtt-modular-input_178.tgz) f90273846997467da34d8617d73c7af1b90669c94ecc1e0472c955cd0d9dbe04 SHA256 checksum (mqtt-modular-input_177.tgz) a96426a5d267348c62797669b13c30d775b10f4346cc829c9c5d0e3f68239191 SHA256 checksum (mqtt-modular-input_175.tgz) d453cb118df343c77766212db7f4d56f91c9548aadfdf0c7ec6ed8fed825c95e SHA256 checksum (mqtt-modular-input_174.tgz) 89961541a8d7e046f9191a65f5862e49eaaa4c693fe9717660cf3954f87c657f SHA256 checksum (mqtt-modular-input_172.tgz) 88cf7db16a5c2f930e36ceb2756cedf981d09bd5b9296c17662f30ac7c66c5af SHA256 checksum (mqtt-modular-input_171.tgz) 7c4c5e3d2c0f83822600101b6be98cd6a5d02d0fc8b87b10c12b45ad35d110ea SHA256 checksum (mqtt-modular-input_170.tgz) 65bd98c79251662a3afdaf9d8a0de7aae671b467f0aba8da2cb852577fd322e2 SHA256 checksum (mqtt-modular-input_163.tgz) ea7d765a137cf8d2345a82b9348ec5ec646ab30c2b6755e1534d74b885eb802d SHA256 checksum (mqtt-modular-input_162.tgz) 64fada7513efa226a897446a64aafe3817e29e029cf261aa96f5ad2d1f6b7ff5 SHA256 checksum (mqtt-modular-input_161.tgz) 22caa09037d47c19f66b9c17e30347bb357f2c360fe53ab6536c6245855d20b1 SHA256 checksum (mqtt-modular-input_16.tgz) 6a200823b26fbae1f37cc15c12daa2ad97de1487f33aaa73ec267de361df1365 SHA256 checksum (mqtt-modular-input_15.tgz) a44ea2e068617378b5687f1256e4818f46ce45481d2b6eb02623a66db83e377f SHA256 checksum (mqtt-modular-input_14.tgz) 606aef3b714e6015975a6fba99fac61ea1e1fdd70a591dd2d21cc30c479a7396 SHA256 checksum (mqtt-modular-input_13.tgz) bd6b9a73cb3db9088ca1562241dfaa86d991d7e8febf0ca28065ea2cfaabb742 SHA256 checksum (mqtt-modular-input_123.tgz) c403f92b3cac1c9b30670f646292e04d1b832c05297b0d30a6404d5f03c6e18d SHA256 checksum (mqtt-modular-input_122.tgz) 73fe1fd9a879fd399a45054d2e89b732cf33656270f35c44efa1f28e2f0d7345 SHA256 checksum (mqtt-modular-input_121.tgz) 83ca2a952c436cd84a8a07edf29865b172433a4ff1b135fca20f780eda508fa7 SHA256 checksum (mqtt-modular-input_12.tgz) 97e8cf37296264353beeb3a1d4b510ce3fcddc5d120b7297f563222b3b13b3c4 SHA256 checksum (mqtt-modular-input_11.tgz) fd8463ca8327232d5efa3288e5003ecb4bb9a96906b16bc317e6600a6ebb432c SHA256 checksum (mqtt-modular-input_10.tgz) a0bad558565dadaaa25bbaa10959b17d8666af956e2956a25711712801a7a8cd SHA256 checksum (mqtt-modular-input_091.tgz) 3036df47b5a51437d398f04af65a92f87825aa9eb1fafa8a56350236a28dc749 SHA256 checksum (mqtt-modular-input_09.tgz) f033a2c18e72a424e5321b7ffe437a2ac83a965af18487249254792e01de37cd SHA256 checksum (mqtt-modular-input_08.tgz) c2d816e5972b6f1e1ba125486461a2f6a3a7b64e0019a9087005f044c258f7c1 SHA256 checksum (mqtt-modular-input_06.tgz) 140efaa66ef5de5b9ab046cdc4d55102dbb9ba2f6c12654be1cc54fb82244843 SHA256 checksum (mqtt-modular-input_05.tgz) 32fc755c76880366bb8d17a41d1b1317913bddf651c9ff7c28ddbabe0ee2d1e9
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.1
March 12, 2025

added a new custom response handler for indexing the raw polled data only, com.splunk.modinput.mqtt.RawDataOnlyMessageHandler

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 LLC in the United States and other countries. All other brand names,product names,or trademarks belong to their respective owners.