Splunk AppDynamics

Unable to get NodeJS application monitoring to work

zeadmin__
New Member

Hello Community!
I have recently been trying to get the AppDynamics work for monitoring an application which is built using NodeJS.
It is a frontend application, which is hosted using an EC2. The webserver is Apache, which then proxy forwards the requests to the Node app running on a custom port within the EC2.

I tried adding the generated script into the main.js startup file (which I used to start the node app using pm2 service), then tried restarting the web app, created load on the web app, but to no success. The connection check window keeps looping and nothing happens. I have successfully connected DB and Machine agents, but unable to get this NodeJS app monitored.

My project's hosting directory doesn't include any server.js files where I can add the code snippet. As far as I can tell, it only has a main.js file and an index.html file. I am unable to get the code snippet to work till now.
Any insights on this would be highly appreciated.
Thanks!

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

April 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...