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 :slightly_smiling_face: 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!

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 ...