cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

"Request agent logs" is used to get future logs data? or can we use this to get past data?

"Request agent logs" is used to get future logs data? or can we use this to get past data?

I need agent log file from last 2 days. How can I get it? using "Request Agent log Files"

3 REPLIES 3

Atyuha.Pal
AppDynamics Team

Hi Reethika,

 

It creates agent.<Date_Time>.0.log which can grow max upto 20 MB and other agent related log files will be rolled up automatically. So if your agent is running continuously from  last 2 days  the log will be rolled up.

It will start collectiong logs once you click on the request button but there is no way to get the log for past 2 days as you can only configure the mode and the duration it should collect the log.

 

Hope it clarified your query.

 

Thanks,

Atyuha



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Hi Atyuha,

 

Thanks for the reply.

So only way to get logs of past data is on deployed application environment??

In agent folder>>agent.log file

??

Reethika,

 

To be clear, using the "request agent log files" facility in the controller UI will retrieve all the agent log files stored by the agent, not just log messages written after the request is made.

 

What Atyuha is saying, however, is that because the agent rolls its log files to ensure they only consume a finite amout of disk space there is no absolute guarantee that ALL information logged by the agent over the previous 2 days will be available since (depending on the volume of data that has been logged) the logs may have rolled.

 

Warm regards,
Peter



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.