Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
02-16-2018 05:29 AM
"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"
Solved! Go to Solution.
02-19-2018 02:42 AM
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
02-20-2018 01:54 AM
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
??
02-20-2018 03:59 AM
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
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form