Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Can we get Java Client request failure log in Elasticsearch Cluster?

We are facing issue with Elasticsearch Java client but we are not getting any error in Elasticsearch data/master node log. I have updated logger level from INFO to DEBUG but I don’t think it will help. Do you have any suggestions to capture Java client failure details in Elasticsearch log?

PUT /_cluster/settings
{
  "persistent": {
    "logger.org.elasticsearch.discovery": "DEBUG"
  }
}

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

By definition, the Java client runs on the client side and by modifying the log level of the ES server, you’re only influencing how the ES server-side logs are generated.

If you want to investigate client-side logs, you need to act directly on your client Java application where you can configure the logging settings easily.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading