All Apps and Add-ons

adding multiple JVM hosts in config.xml

Path Finder


whats the correct syntax of adding multple JVM instances in config.xml or its one config per jvm ( i doubt it though).

here's what my config.xml looks like

<jmxserver host="devappa40" jvmDescription="Dev_Portal" jmxport="5002">
<jmxserver host="devappb12" jvmDescription="Dev_Switch" jmxport="9192">

I can see the first host but not the 2nd one.

any help is appreciated...

0 Karma
1 Solution

Ultra Champion
0 Karma

Ultra Champion

The app ships with examples of how to declare multiple jmx server elements.

0 Karma


Hi sramiz,

You need use / at the end of line before > , correct syntax is as below:

<jmxserver host="devappa40" jvmDescription="Dev_Portal" jmxport="5002" />
<jmxserver host="devappb12" jvmDescription="Dev_Switch" jmxport="9192" />
0 Karma
Get Updates on the Splunk Community!

Splunk Cloud | Empowering Splunk Administrators with Admin Config Service (ACS)

Greetings, Splunk Cloud Admins and Splunk enthusiasts! The Admin Configuration Service (ACS) team is excited ...

Tech Talk | One Log to Rule Them All

One log to rule them all: how you can centralize your troubleshooting with Splunk logs We know how important ...

Splunk Security Content for Threat Detection & Response, Q1 Roundup

Join Principal Threat Researcher, Michael Haag, as he walks through:An introduction to the Splunk Threat ...