Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
on
08-31-2020
06:09 PM
- edited on
03-09-2023
08:29 PM
by
Claudia.Landiva
From Events Service v23.2 onward, port 9200 is always open, as a requirement for Elastic Search 8.
In prior versions, port 9200 is disabled by default. Used for debugging purposes,it needs to be turned on before troubleshooting begins.
NOTE | After the debugging session is done, remember to disable the property and restart the Events Service to avoid exposure to security vulnerabilities
Troubleshooting Example | Port 9200 in Events Service 23.2 and beyond | How to enable Port 9200 in prior versions
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
As of Events Service 23.2, there is no ad.es.node.http.enabled property in <ES_HOME>/conf/events-service-api-store. Elasticsearch 8 requires that port 9200 is always open.
For the time being, we recommend one of the following options:
events-service-api-store.properties
file within the conf directory of your Events-Service home directory (<ES_HOME>/conf/events-service-api-store.properties
).ad.es.node.http.enabled
to true.# 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
ad.es.node.http.enabled
property and restart the Events Service once you complete the debugging session.Hi guys.
Could you please update this article for Event Service 23.2.0, there is no ad.es.node.http.enabled property in <ES_HOME>/conf/events-service-api-store.properties configuration file to open 9200 port.
Thanks for pointing this out! We are working on revisions for Events Service 23.2.x. I will post here on update status.
Claudia Landivar
Community Manager & Editor
@Yergali.Yerkalin — Check out the revised article. Thank you for pointing out the needed change for v23.2.
And thank you for authoring the technical changes, @Ankit.Kumar.
Claudia
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form