I am trying to connect mongodb to elastic search. I am using Mongodb compass and in that the database is MongoPOC and collection is Json_file. My config file is as below:
MongoDB 4.2.10 Enterprise
index => "mongotest1"
hosts => ["127.0.0.1:9200"]
Can anyone help me with correct configuration.Thanks in advance.