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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...