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!

Splunk MCP & Agentic AI: Machine Data Without Limits

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

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...