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!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...