Connect to the Events Service
You must be connected to the Splunk AppDynamics Events Service to send data to it. Splunk AppDynamics uses API keys and connection URLs to establish connections between components.
You can configure these connection settings on the Controller Settings page of the Admin Console (see Access the Administration Console). The following sections describe the required connection settings for Database Visibility, Analytics, and End User Monitoring.
Database Visibility and Analytics Connection Settings
The Database Visibility module stores some of its data (such as wait state information and query information) in the Events Service. The Database Visibility module is the Database Monitoring product, which is already bundled with the controller. If you have both Analytics and Database Visibility installed, we recommend that they share an Events Service instance or cluster instance.
To connect these modules to the Events Service, open the and set values for the following properties:
- Set
appdynamics.on.premise.event.service.keyto the corresponding key in the properties file for Database Visibility. - Set
appdynamics.on.premise.event.service.urlto the Events Service endpoint URL. - Set
appdynamics.non.eum.events.use.on.premise.event.serviceto true .
To set up the properties files required for Database Visibility:
- Make note of the
appdynamics.on.premise.event.service.keyvalue from the Admin Console. - Open the file called
events-service-api-store.properties, which you can find under the Events Service conf directory. - In the Events Service file,
events-service-api-store.properties, ensure that the On-Premise Events key matches with the values ofad.accountmanager.key.controllerandad.accountmanager.key.mds- See Configure the Events Services Properties for details.
- Stop and start the Analytics Service through the Enterprise Console or command line to pick up the new values.
End-User Monitoring Connection Settings
- Open .
- Locate
eum.es.hostand verify it is set to the proper Events Service endpoint URL. -
Navigate to the <EUM_HOME>/eum-processor/bin/eum.properties file.
-
Set the following property values to connect the EUM to the Events Service:
Sample
analytics.enabled=true analytics.serverScheme=http analytics.serverHost=events.service.hostname analytics.port=9080 analytics.accountAccessKey=1a59d1ac-4c35-4df1-9c5d-5fc191003441 - Open the .
- Set the
eum.es.hostto the Events Service endpoint URL.
appdynamics.es.eum.key will automatically be set to the property analytics.accountAccessKey of the file <EUM_HOME>/eum-processor/bin/eum.properties. Proxy Connection Settings
If you are connecting Database Visibility or Analytics through a proxy, you must set values for the following properties:
-
appdynamics.on.premise.event.service.proxy.host -
appdynamics.on.premise.event.service.proxy.port -
appdynamics.on.premise.event.service.proxy.user -
appdynamics.on.premise.event.service.proxy.password.file -
appdynamics.on.premise.event.service.proxy.use.ssl
If you are connecting EUM through a proxy, you must set values for the following properties:
-
appdynamics.controller.http.proxyHost -
appdynamics.controller.http.proxyPort -
appdynamics.controller.http.proxyUser -
appdynamics.controller.http.proxyPasswordFile