Escape character while connecting with Elastic Search


In our cluster, the Elastic Search version is 7.6.1 and security is enabled using OpenDistro (please refer ) of a compatible OD version of 1.6 and backup ( please refer Snapshot and restore | Elasticsearch Guide [8.4] | Elastic ) is also enabled for the cluster. I have been trying to connect with ES server with following command:-

curl --max-time 50 --connect-timeout 50 --insecure -X GET -u uname:pwd "https://es-data-fqdn:9200/_cat/snapshots/back-up-repo-name?h=snapshot,status,start_time,end_time,duration,indices,successful_shards,failed_shards,total_shards&format=json"

If pwd in above command contains special characters, we need to escape it. Can you please tell which special characters we need to escape for it?

OpenSearch/OpenDistro are AWS run products and differ from the original Elasticsearch and Kibana products that Elastic builds and maintains. You may need to contact them directly for further assistance.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )


Opendistro and Opensearch are not supported in this forum, you need to check this issue in their forum.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.