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.
- Clone the gdal repository to my computer
-
cdinto the gdal subdirectory of the repository - Run
./configure - Run
make(this will take a long time) - Run
make install - Run
ogr2ogr --versionto confirm I am running 3.1.0-dev-*.