AppD Archive

Could use an example of the javaagent argument when it includes a uniqueID value

CommunityUser
Splunk Employee
Splunk Employee

I am setting up an AD Pro trial on a Linux machine to monitor one of the Tomcat instances.

One part of the set-up directions has me confused. I know how to add this line to the Tomcat start-up script but I do not know what value to set for uniqueID. Can this value just be any unique name that I want to use, like "tomcat1"?

Here is the line from the documentation:

If you are a Self-Service Trial user, add the App Agent for Java javaagent argument to your JVM start script where <my-app-jvm1> is the name you use for the application running on that JVM.

 
-javaagent:<agent_home>/javaagent.jar=uniqueID=<my-app-jvm1>
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Your understanding is correct -- the value of uniqueID can be anything you like, only requirement is to have it unique for each JVM.

Let us know if you still face issues.

Thanks

0 Karma
Get Updates on the Splunk Community!

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...