Share a Tip

Easily obtain agent logs

Adam_Smye-Rumsb
Explorer

Occasionally you'll want to review agent logs, perhaps to troubleshoot an agent that is experiencing connectivity issues.  Rather than having to e.g. login to a VPN and ssh to the host/VM where the agent is running, you can download the logs right from the AppDynamics UI. 

Navigate to the relevant Node detail page and select 'Agents'.  Scroll to the Agent Operations section and click 'Request Agent Log Files':

image.png

The agent log files will be automatically zipped for convenience.  When ready for download, simply click the disk icon to download via your browser:

image.png

Tags (3)

Gagan_Acharya
New Member

Thanks Adam,

Sometimes the agent download getting stuck with "In-Progress" for users. Any idea what might be causing that?

0 Karma

Adam_Smye-Rumsb
Explorer

Hi,

Sorry to hear that.  There could be a few different things going on to prevent the logs from being accessible.  I'd check the size of agent logs that have been requested--very large log files or a log directory containing many log files can be too large to transfer successfully. 

I'd also check the user requesting agent log files has the Agent Advanced Operation permission as described in: https://docs.appdynamics.com/appd/22.x/latest/en/application-monitoring/administer-app-server-agents....

If none of the above help, it may be necessary to increase the timeout period for the request.  I recommend contacting AppDynamics Support for assistance with this task.

Get Updates on the Splunk Community!

Get Schooled with Splunk Education: Explore Our Latest Courses

At Splunk Education, we’re dedicated to providing incredible learning experiences that cater to every skill ...

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...