Mapping & Settings

Index Mapping/Settings

Mapping JSON files are in /etc/elasticsearch/templates/ 

To update mapping:

# /opt/ubi-elasticsearch/delete_mapping_template.sh

# /opt/ubi-elasticsearch/install_mapping_template.sh


To get an index mapping: 

# curl -XGET "localhost:9200/your-index-name/_mapping?pretty"


To get the index settings: 

# curl -XGET "localhost:9200/your-index-name/_settings?pretty"

Cluster settings 

To get cluster settings information:

curl -XGET "localhost:9200/_cluster/settings?pretty&include_defaults=true"