Splunk AppDynamics

Java agent implementation

Rohan_Vaikkath
Explorer

I am currently working on deploying Java agents, I have two applications running on the same host. I have app1 and aap2 running on the same host. If I want to instrument both applications how would I move forward doing this. Will I have multiple controller-info.xml files on the same host in dofferent directories?

How would a sample command look like If I wanted to run them through passing the arguments?

Is there anyway to edit the controller-info.xml file in order to achieve this?

Thanks.

Labels (1)
0 Karma

Peter_Holditch
Builder

Rohan,

This is an entirely normal scenario, which is discussed in the documentation.

In short, we advise customers to put the common parts of the configuration (e.g. controller URL) in the controller-info.xml file and then provide the parts that vary per JVM as system properties on the command line.

Warm regards,

Peter

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...