Splunk AppDynamics

JVM agent does not work

Kong_xiaohui
New Member

Hi,

I have installed the javaagent on my Linux server, and I append javaagent script after my startup script.

The whole script: "$JAVA_HOME/bin/java -jar /tmp/my-api.jar -ms64m -mx256m -javaagent:/opt/appdyn/javaagent/4.4.3.22593/javaagent.jar -Dappdynamics.controller.ssl.enabled=true -Dappdynamics.force.default.ssl.certificate.validation=true -Dappdynamics.agent.accountName=customer1 -Dappdynamics.agent.accountAccessKey=........ -Dappdynamics.controller.hostName=........ -Dappdynamics.controller.port=..... -Dappdynamics.agent.applicationName=........ -Dappdynamics.agent.tierName=my-api -Dappdynamics.agent.nodeName=_my-api"

my-api is a spring boot web application. After running this script, seems there is no log generated.

Labels (1)
0 Karma

Allan_Schiebold
Communicator

Hi. There is likely an error in the application logs about the app being unable to call the agent. This could be due to permissions issues. 

0 Karma
Get Updates on the Splunk Community!

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Splunk App for Anomaly Detection End of Life Announcement

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...