Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

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
Revision #:
8 of 8
Last update:
‎08-31-2020 06:09 PM
Updated by:
 
Labels (1)
Tags (2)


Found this article helpful? Click the Thumbs Up button.
Have an additional comment? Post it below.