The URL of the Elastic Search server including index and type - <scheme>://<host>:<port>/<index>/<type>/

The index and type need to be specified so that Elastic Search can index the document.

For Elastic Search 8.0 and upwards, you should set the type as _doc because types are no longer supported.