How to import a GeoJSON to elastic.. using Logstash or any other possible way

Hi @Jayasri_Cimba,

Unfortunately, GDAL version 2.4.2 will not work with your Elasticsearch 7.3 version. You will have to upgrade to GDAL 3.1.0 by building from the source code.

I also have a Mac and this is how I build GDAL from source.

  1. Clone the gdal repository to my computer
  2. cd into the gdal subdirectory of the repository
  3. Run ./configure
  4. Run make (this will take a long time)
  5. Run make install
  6. Run ogr2ogr --version to confirm I am running 3.1.0-dev-*.