AppD Archive

APM for Java console application

CommunityUser
Splunk Employee
Splunk Employee

Greetings Community,

    I have a question if it's possible to get a deeper look into standalone console Java application, which is executed via CLI (not within a Jboss container)

many thanks,

Irakli

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Irakli,

Yes, we instrument at the JVM level. Thus, a standalone application not running in an application server is completely possible to monitor.

When you start your application add the -javaagent:<agent_home>/javaagent.jar to you startup script.

For example if you application was testapp.jar

java -javaagent:/path/to/javaagent.jar -jar testapp.jar

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hello Frank,

    Many thanks for your support and apology for noobing 🙂 I recognize it's same method as for Jboss server.

For some reason I cannot "star/mark as answer" using any browser on my system due some JS issue, so I would like to second the mentioned above that your reply resolves my request.

Best,

Irakli

0 Karma
Get Updates on the Splunk Community!

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...