Need to connect to a secure elastic search which has https authentication using Transport client in java code. I have userId and password to connect however need example on how can we do it? I am using elasticsearch 5.6.0.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.