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!

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...

Splunk Answers Content Calendar, June Edition II

Get ready to dive into Splunk Dashboard panels this week! We'll be tackling common questions around ...

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...