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!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...