cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

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.

Knowledge Base

How do I enable the Events Service debugging port?

The Events Service port 9200 is disabled by default. This port is used for debugging purposes and will need to be turned on while troubleshooting.

 

Note: After the debugging session is done, remember to disable the property and restart the Events Service to avoid exposure  security vulnerabilities

 

Example

Using the following commands to find the status of shards/indices:

curl http://localhost:9200/_cat/shards?v
curl http://localhost:9200/_cat/indices?v

 

 will result in the following output:

curl: (7) Failed to connect to localhost port 9200: Connection refused
 

How do I  enable port 9200? 

  1. Locate the events-service-api-store.properties file within the conf directory of your Events-Service home directory (<ES_HOME>/conf/events-service-api-store.properties).

  2. Change the value of the property ad.es.node.http.enabled to true.

  3. Save, and restart the Events Service server.
    # To run this service in a fully, self contained mode, without 
    # the need for dedicated master nodes, this should be set to 'true'. 
    # If there are dedicated elasticsearch masters, then this flag 
    # should be set to 'false'. 
    ad.es.node.master=true 
    ad.es.node.http.enabled=true

     

  4. Begin your debugging session.

  5. Leaving the property enabled will expose  security vulnerabilities. So, once you complete the debugging session, be sure to disable the  ad.es.node.http.enabled property and restart the Events Service.
Version history
Last update:
‎08-31-2020 06:09 PM
Updated by:
Labels (1)
Tags (2)
By replying you agree to the Terms and Conditions of the AppDynamics Community.