However for some reason, I am not able to run this command -
$ogrinfo ES:http://localhost:9200
or this command
$ogrinfo ES:https://elastic:(my actual password)@localhost.com:9243 (which is for secutiry enabled like mine)
I also tried -
$ogrinfo ES:https://elastic:(my actual password)@localhost.com:9200
For the commands above, GDAL was not able to connect to elasticsearch. Can anyone suggest what is going wrong? or what different I should do for loading the shapefile into Elasticsearch?
It says “ empty reply from the server” error 1: unable to open existing output datasource “ES:http://localhost:9200” and another error that I got was ssl certificate problem! Self signed certificate in certificate chain when I tried to access by ogrinfo ES:https://local host:9200. I had to disable the xsecurity settings in Elasticsearch.yaml config file to connect to ogr as a temporary solution. However, I would like to set up security settings and make this work as permanent solution.
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.