All Apps and Add-ons

adding multiple JVM hosts in config.xml

sramiz
Path Finder

hello.

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

Damien_Dallimor
Ultra Champion
0 Karma

Damien_Dallimor
Ultra Champion

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

https://github.com/damiendallimore/SplunkModularInputsJavaFramework/blob/master/jmx/bin/config/examp...

0 Karma

harsmarvania57
Ultra Champion

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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...