Splunk AppDynamics

Node JS Agent :: Logs configuration

CommunityUser
Splunk Employee
Splunk Employee
i have my Node JS Agent configured and it shows up in AppD Monitoring portal .
I am using [Node 7.10.1 - Alpine Linux with glibc] Docker environment on AWS clould
The problem is, i cannot see the logs in host environment under /tmp/ as configured below /tmp/appd
using 4.3.4 npm module 
 
Is there any issue below logging configuration?
In the docs(link below content at end) , it says debug mode would show logs in stdout (does that mean logging file won't get created in debug mode)
 
require('appdynamics').profile({
controllerHostName: '.....,
controllerPort: 443,
controllerSslEnabled: true, // Set to true if controllerPort is SSL
accountName: ....,
accountAccessKey: ....,
applicationName: ....
tierName: ....
nodeName: domain name ,
debug: true,
logging: {
'logfiles': [{
'root_directory': '/tmp/appd',
'filename': 'echo_%N.log',
'level': 'DEBUG',
'max_size': 10000,
'max_files': 10
}]
}
});
Labels (1)
Tags (2)

Ayush_Ghosh
Path Finder

Hi Shiva, 

When you start the Node.JS application in debug mode, the log location is logged out in the console. You can get it from there.

It should be /tmp/appd for any linux machines.

Thanks

Ayush

Get Updates on the Splunk Community!

ATTENTION!! We’re MOVING (not really)

Hey, all! In an effort to keep this Slack workspace secure and also to make our new members' experience easy, ...

Splunk Admins: Build a Smarter Stack with These Must-See .conf25 Sessions

  Whether you're running a complex Splunk deployment or just getting your bearings as a new admin, .conf25 ...

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...