Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
"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.
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.
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.