Splunk AppDynamics

Passing a String array to a JMX operation

JohnGregg
Path Finder

I am trying to invoke the threadPrint operation on the MBean java.lang:type=Runtime.  I think the UI is telling me that it takes a String array as input, but I can't figure out how to specify an array.

I have tried many combinations:

  • Blank
  • Empty double quotes
  • Empty single quotes
  • Double-quoted values
  • Single-quoted values
  • Curly braces
  • Square braces
  • A single character
  • Multiple characters

A few give an immediate syntax error, like quotes aren't allowed.  Most give something like this:

failed with error = Unsupported type = [Ljava.lang.String;, value = l 

 I think it's trying to tell me that my input is not a String array.

How do I specify an array?

 

thanks

 

Labels (1)
Tags (1)
0 Karma
Get Updates on the Splunk Community!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...