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.
Log4Shell Vulnerability: Information and guidance for you. Get resources.

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 Monitoring of Java Virtual Machines with JMX
SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_325.tgz) 8639a3e77dc4d0c740fe88c5f6d3ddae77b30e05200e1382773aefd1cb7513fb SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_324.tgz) d9a6175bd1e2ec455aa8e6d6b6012d413ea71da33093ae71eb6010631370cfc1 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_323.tgz) 935df7e03f91de4259ac233bc27a6fe49f0cf21934dbdcf8fc9e95a82f66be92 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_322.tgz) bf38ff16537e8d75184045da6ad9c95850670e12095f2c3808c784d759cd0f68 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_321.tgz) b881f678229ded9396edf13173abbca5cf4e6906d0691ed6956eff16334b875c SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_320.tgz) be7df6236f6b339d26f77f17843be4bc09356d96888e66ffb964fbff4d5dfa22 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_312.tgz) 53cf51aead8d4005f0c8f46a20130d4317383ac61da5cddf6ff11ae65430528e SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_311.tgz) f8e3d2c0af5e6beb58ee31dfd62c95154800a7baad6ed878d2ae7ad935685efe SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_31.tgz) 96b1b9f5b548a93f16080f086e25be56d157a3b848b9e169b1e36bca26275c86 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_30.tgz) 2c3250e8d81dba86e89672f258178b3ae376be52639290de334eb456b10ebda3 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_28.tgz) 193577a47cc79895c964ebb81e9cd4059fc00879a96cd889fd96f567989c4f56 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_27.tgz) 02b02e380ddadd6364c283473678938127df0ac5ea5a5eaf3b02660c6fc47a5a SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_264.tgz) 44cbfc4e806d0e4c3ff2bf8127d47c260351884f53975458f0c6cebec10c93ca SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_263.tgz) 6c7e293a70876e67bcf235390f8c3975b2a6d37680b7f9c38dcc9c45510de15a SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_262.tgz) d9c2134b8228e7d4ecc6308caa2313a96f213824443352a20d96718bb8179a49 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_261.tgz) 49c2954d3e00e63c191106168e72f762140e22a1d0883d2e987d5501210959e9 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_26.tgz) 46b038279e61e889c17b5e1f1a2dce31532954af872c08dacd3908777d7fa6e6 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_25.tgz) cbe8418ccfcbda3fc720a9b3bb3661a04942673dfdea31ba345993c543a6dd49 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_24.tgz) ddbe813c8ffc61cf8d320fb03fa58847b7f39bb34b376602d173d518d275fbdd SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_23.tgz) 52b106851b4fcb5d9569d3202a2174177abc3b09ada1f90f3457fa72a61d621f SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_222.tgz) 976235612bf8c49b16b756b0054500e5c7d2ab2719c026a8eca9cb59e3bfe365 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_221.tgz) 61688a71b9770c25b874232fc1d0d1ce35150ab3a210eb7b98a47cddaa12ab17 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_22.tgz) 56b85fbb5fa1b7708d2eef75cb29d3a194a2516724c2e9f2b0cae194bd5728c6 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_21.tgz) 8c5d192b47f170eeb565be01fed987165b3b33bf4b8a2f95282fc43fe0f01c26 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_204.tgz) 414af8ad906c0a7f991ff656c9c18187f977bf4fc534cf7e4b4562bbe5797411 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_203.tgz) 02560b62f83e654d192ed154ab2e0fceacd183adfa9d3935386242dc90c0867e SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_202.tgz) b012b91be77e0a95bf1297c05617f33647d00e39283c81b90ba805fa799c7bdb SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_20.tgz) 421615d7a43de30fa2194ee9bc14d7b634de17921c1b118545589d783bdf2943 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_17.tgz) 881b855dba01f44527e3bbd9fc0af2809b514a1a0215b5a2dd57b3c595db9eeb SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_16.tgz) 69793bcb18364b81de32176a62a17efccf7e34f88384bfbaf87658cde94e85a2 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_157.tgz) 459b967a70249f5b38ce3e6f4ba457980c3766256d8ea0b4f4d229505cdeeb1d SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_156.tgz) 8303892209054ba4daac9283269a0b710a7ac69c08d13727620f2a990e52795a SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_155.tgz) 098e141cef821f211d7f26ee7911aec7e4263584acff055378585773f1075ac2 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_154.tgz) 4ec3586200e56ae0775c509d0bc6cf703eccd9ab2c44a03df973b1e167b8ff8e SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_153.tgz) 6e62ac2162453958a3a283096065bc5c123cffbeaeb9582a4fb853eb9a5a16f6 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_152.tgz) 629d24e5f152132c92d7f1abf35cae43927e6ce7be86cbc7d599c2df6bff28e6 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_151.tgz) c24f6ade3996476be21bfc2c6a3f8c602dec0d61857447c86d4f1f298f641f2b SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_15.tgz) 43d127b2ebcba05161c61583ac5e49b6ec1fda65edd9cbf841f7430e5b8ff032 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_14.tgz) 4eed0cf1b522d75c7e3ea7a6772143e97a435edc12e53621f303a9cc9113abed SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_134.tgz) c82049d77f8dc72fa28eb0f61cf1ea72b2d278aa9df7af14bb05727307e86ad6 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_133.tgz) 71840a9c9f2132772e4366170e5fd33c9d621414c097076ccce535a32775ca90 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_132.tgz) c7808a6a3af4081999eb30e59e4b5a27b8d204b51e84deb6c678afd09613f159 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_131.tgz) 007f4c85d63b3858000c38e68d1ee09dd8c5dc9c361564db555a40abfaaf0eb4 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_13.tgz) 9d8095bdfd0c170e8c4d8c2b44b217c36cc5dba451d25c1e39ab545ea3fb64a4 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_129.tgz) 5bfedc4f2f82a6e6c4b9fdddc1d80e6d79c1f79bcfb7cb8a9335f80210aba51a SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_128.tgz) afeafe13f029ddbb3e90dfb230bb68459bc82b58541904201ce89c46ff87f6a9 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_127.tgz) 38f18b8ad55e5016c107ea755aca0dffe47fbaebb0d3fdc811149296cb014773 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_126.tgz) 09dfa01ca7359ef2981f6582951dfcc9f9d0f809cba87b6edb86c46f1692f8fe SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_125.tgz) 004162efa7ff893fa2202894fd031f9416a4432429726a93f9217475b4011245 SHA256 checksum (monitoring-of-java-virtual-machines-with-jmx_124.tgz) f0929815c9945465cf035cc2c559ebd42cac36c84f6a6d020edf41ab97e8444f
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate


Monitoring of Java Virtual Machines with JMX

Splunk Cloud
"Monitoring of Java Virtual Machines with JMX" (formerly Splunk for JMX) can be used to poll local or remote JMX Management Servers running in Java Virtual Machines across your entire infrastructure and index MBean attributes, outputs from MBean operations and listen for MBean notifications.

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 or installing directly in Splunk Cloud.

Release Notes

Version 3.2.5
June 18, 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 this app , we had to change the way that the child java process is invoked. 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.

  • 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/jmx.py by setting the SPLUNKD_TIMEOUT_SECS variable.

  • upgraded internal logging libraries to Log4j2 v2.17.2

Version 3.2.4
Dec. 23, 2021

upgraded internal logging libraries to Log4j2 v2.17.0

Version 3.2.3
Dec. 15, 2021

upgraded internal logging libraries to Log4j2 v2.16.0

Version 3.2.2
Dec. 11, 2021

upgraded internal logging libraries to Log4j2 v2.15.0

Version 3.2.1
Oct. 29, 2021

added a JSON Event formatter. See bin/config/examples/tomcat.xml

Version 3.2.0
Oct. 19, 2021
  • general updates to meet latest Cloud Vetting requirements
  • browse to the Setup Credentials menu tab and enter any JMX usernames/passwords you require.
  • activation key is now setup globally via a menu tab
  • removed the HEC output option, default is now stdout
Version 3.1.2
Oct. 6, 2020

upgraded logging functionality

Version 3.1.1
Sept. 29, 2020

docs update

Version 3.1
Aug. 30, 2020

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

Version 3.0
Aug. 23, 2020

enforced python3 for execution of the modular input script.If you require Python2.7 , then download a prior version (such as 2.8).
updated all of the dashboards to be compatible with Splunk 8
removed the default 'jmx' index , 'main' is the new default index

Version 2.8
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 2.7
Dec. 30, 2019

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

Version 2.6.4
Dec. 4, 2019

correcting some minor docs errors

Version 2.6.3
May 10, 2019

cosmetic fixes

Version 2.6.2
April 23, 2019

updated docs

Version 2.6.1
April 19, 2019

added trial key functionality

Version 2.6
March 28, 2019

docs updated

Version 2.5
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 2.4
Nov. 24, 2015

Minor HEC data handling tweaks

Version 2.3
Sept. 22, 2015

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

Version 2.2.2
July 12, 2015

Tidied up a dead link in the navigation menu

Version 2.2.1
April 20, 2015

Fixed some minor typos

Version 2.2
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/jmx.py


Version 2.1
June 16, 2014

Config file is now dynamically reloaded if it changes
PID File contents are read in on each poller execution
PID Command is executed on each poller execution
PID Command can also return JVM Descriptions in format : 1234,somedescription

Version 2.0.4
Jan. 23, 2014

Minor change so that when using "dumpAllAttributes" , only READABLE attributes will be polled.

Version 2.0.3
Nov. 5, 2013

Added a property to optionally specify an alternate config file directory location , relative to SPLUNK_HOME

Version 2.0.2
Oct. 30, 2013

Put app icon images in the correct directory(this has changed for Splunk 6)

Fixed a classloading clash for direct process attachment jars for win32 vs linux deployments

Version 2.0
Oct. 22, 2013

NOTE : As per Splunk legal naming standard requirements , this app has now been renamed from "Splunk for JMX" to "Monitoring of Java Virtual Machines with JMX". But it is still functionally the same with everything you know and love , plus more !

Release Features:

Refactored the core data collection to be a Modular Input vs the prior versions' scripted inputs.This is much better for performance as now you can run multiple polling stanzas in 1 single JVM, versus having to fire up a JVM for every time you execute a configuration file

As the Modular Input is a Python wrapper to a JVM instance , all Splunk platforms are now supported

The app can either be run in app mode(with dashboards) or in add-on mode(just the modular input.)

Removed all Advanced XML and replaced with Simple XML

Added support for listening for MBean Notifications

All logging now goes to splunkd.log , searchable via "index=_internal ExecProcessor jmx.py"

All documentation brought up to date.

Version 1.7
Oct. 16, 2013

Updated to be compatible with Splunk 6

Version 1.6
Dec. 17, 2012

Tweaked the GC views , Added support to roll out Composite Type arrays

Version 1.5.7
Oct. 22, 2012

When using direct process attachment and specifying a PID Command script, previously Splunk for JMX would only support a single PID in the command output , now it supports multiple PIDs (delimited by newlines)

Version 1.5.6
Sept. 3, 2012

Minor cosmetic update , removed paypal links

Version 1.5.5
Aug. 30, 2012

Added heap/non-heap memory committed charts to the jvm_memory dashboard

Version 1.5.4
June 2, 2012

Added a setting to SearchSelectLister modules so that their populating searches inherit the parent TimeRangePicker selection

Version 1.5.3
April 16, 2012

++added a configuration parameter(stripPattern) for Formatter declarations in config.xml that allows you to specify a regex pattern, or list of patterns, that if matched will strip the matched text from the raw MBean attribute/operations values++

Version 1.5.2
March 20, 2012

++just a tweak to the build, some files were erroneously getting CHMOD'd executable in the tarball++

Version 1.5.1
March 20, 2012

++Converted all the demo views to Advanced XML and added in dynamic time,host,jvm selectors++The new Advanced XML views use output generated by the TokenizedMBeanNameQuotesStrippedFormatter, this is the formatter now declared in the example config xml files, the DefaultFormatter is still available if you were using and still want to use that, but won't work with the new Advanced XML demo views++

Version 1.5
Feb. 15, 2012

++Refactored core engine so you can plugin both custom Formatters and custom Transports++Bundled STDout(default), Splunk Rest, TCP,Syslog,File Transport implementations++added ability to add parameters to Formatter and Transport declarations++3 bundled Formatters can be customised with various different parameters in the configuration xml file, such as the ability to prepend a date and specify the date format pattern++updated docs

Version 1.4
Feb. 1, 2012

Added a setup screen ++ Added a MAX_TIMESTAMP_LOOKAHEAD setting in props.conf to prevent erroneous epoch time rsolutions from non time fields ++ Added links in navigation bar to pdf/html docs

Version 1.3.4
Jan. 11, 2012

++minor adjustment to logging, no more daily rolling files , now only keeping 1MB with 1 backup as the JMX logs get indexed by Splunk anyway ++ documentation housekeeping

Version 1.3.3
Nov. 15, 2011
  • More robust handling of primitive type arrays + All Formatter implementations now strip out all newlines and tabs from attribute values and replace with single space characters, thus flattening out all possible attribute values into a single line
Version 1.3.2
Sept. 22, 2011

+++Added several new demo views, tables, charts...notably, CPU usage per JVM(based on the same algorithm that JConsole uses to derive the JVMs cpu usage), garbage collection, memory pools/memory managers , more thorough OS and Runtime metrics, enhanced connectivity errors page.+++no changes to core engine or config schema, so full backward compatibility maintained

Version 1.3.1
Aug. 10, 2011

Tweaked the demo forms and navigation bar >>Added a data input to monitor the splunk4jmx error logs and also added view on the navigation menu that reports on jmx connection errors.

Version 1.3
July 18, 2011

Docs updated

Version 1.2.9
July 18, 2011

Fixed minor bug in poll_mx4j_jmx.sh script

Version 1.2.8
July 17, 2011

Added an optional "Formatter" implementation that rather than outputting the mbean name as a single canonical string, breaks up the mbean name into its constituent parts and outputs as individual fields.In your config XML file you can use this formatter by declaring.....<formatter className="com.dtdsoftware.splunk.formatter.TokenizedMBeanNameFormatter" />

Version 1.2.7
July 16, 2011

Added support for discovering and extracting ALL attributes of an MBean.Provides an alternative to having to explicitly declare each attribute you want to extract.

...a few examples....
dump the attributes from every MBean from every domain :
<mbean domain="*" properties="*" dumpAllAttributes="true" />
dump the attributes from all MBeans in the java.lang domain :
<mbean domain="java.lang" properties="*" dumpAllAttributes="true"/>
dump the attributes from all MBeans in all of the cassandra domains :
<mbean domain="org.apache.cassandra.*" properties="*" dumpAllAttributes="true" />

Version 1.2.6
July 13, 2011

MX4J support is now implemented, in addition to the standard JSR160 rmi and iiop connectors , there are now MX4J http/https connectors (hessian, burlap and soap). If your target JVM is using MX4J 3.0.2+ as its JMX implementation, then you can use these additional connectors.

In my testing, these http connectors all work well for simple attributes.

Hessian/Burlap work well with CompositeData attributes, but not so with TabularData attributes

Soap seems to have issues with CompositeData and TabularData attributes.

I would recommend the hessian connector if using an http based connector.

I have also updated the lib layout and scripts to allow easier addition of custom jar files, 3rd party jar files etc...

All documentation updated.

Version 1.2.5
July 4, 2011

Tested against IBM J9 JVMs >>Fixed bug with multiple cluster elements in config xml file >> Tidied up processing of TabularData

Version 1.2.4
June 30, 2011

Added more thorough Java Collection type support for Attribute value and Operation return types. >>>Can now deal with Arrays, Lists, Maps, Sets and recursively deeply inspect Collections of Collections.>>>Docs updated.

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.