Nidhi Srivastawa
Sep 4, 2018 · 2 min read

Log Analytics with Appdynamics

To configure the Log analytics, follow the document in the below link:

  1. Configuring Machine Agent:

Changes in [MachineAgentFolder]\monitors\analytics-agent\conf\analytics-agent.properties file:

Note : To get the above details log in to appydynamics -> Go to Settings -> License -> Account

  • Changes in [MachineAgentFolder]\conf\controller-info.xmlfile:
  • <account-access-key>AccountAccessKeyIntheControllerSettings</account-access-key>
  • <account-name>AccountName</account-name>
  • change the value in the xlm file at \AppDynamics\MachineAgent\monitors\analytics-agent\monitor.xl :- from
  • <enabled>false</enabled>
    to
    <enabled>true</enabled>

2. Restart Machine agent.

3. Check there is no errors in the logs:

  • InstallationFolder/logs/machine-agent.log
  • InstallationFolder/logs/analytics-agent.log

4. Enable one of the sample log files from [MachineAgentFolder]\monitors\analytics-agent\conf\job

To setup a sample log file for AppDynamics to start reading the logs, please follow steps mentioned in the below document.

https://docs.appdynamics.com/display/PRO43/Configure+Log+Analytics+Using+Job+Files#ConfigureLogAnalyticsUsingJobFiles-jobfileDescribetheLogSourceinaJobFile

5. Analytics agent:

Make sure the communication between the Analytics-Agent and the Controller is Ok. You can check it in “Admin/AppDynamics Agents Section” in its “Analytics Agents” Tab.

6. Analytics Tab / Configuration: Add a new Log source:

7. General Tab→ Fill “Source File” field writing the full path of the log file:

Save the details.

Refer this link for more details : https://docs.appdynamics.com/display/PRO42/Configuring+Log+Analytics#ConfiguringLogAnalytics-maplogs

To see the logs, click one searches tab and query as below:

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade