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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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