Difference between revisions of "POST / close"
Jump to navigation
Jump to search
↑ https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-templates.html
(3 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
{"error":{"root_cause":[{"type":"parse_exception","reason":"request body is required"}],"type":"parse_exception","reason":"request body is required"},"status":400} | {"error":{"root_cause":[{"type":"parse_exception","reason":"request body is required"}],"type":"parse_exception","reason":"request body is required"},"status":400} | ||
+ | |||
+ | |||
+ | {"acknowledged":true,"shards_acknowledged":true,"indices":{"your-index":{"closed":true}}} | ||
+ | |||
[[Index]] | [[Index]] | ||
Line 12: | Line 16: | ||
== Realted == | == Realted == | ||
− | * [[curl --header]] | + | * <code>[[curl --header]]</code> |
+ | {{cat API}} | ||
== See also == | == See also == | ||
* {{Elasticsearch}} | * {{Elasticsearch}} | ||
+ | |||
[[Category:Elasticsearch]] | [[Category:Elasticsearch]] |
Latest revision as of 20:11, 20 September 2022
https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-close.html
/your_index/_close {"acknowledged":true,"shards_acknowledged":true,"indices":{"your-index-name":{"closed":true}}}
{"error":{"root_cause":[{"type":"parse_exception","reason":"request body is required"}],"type":"parse_exception","reason":"request body is required"},"status":400}
{"acknowledged":true,"shards_acknowledged":true,"indices":{"your-index":{"closed":true}}}
/_cat/indices /_restore
Realted[edit]
curl --header
/_cat/indices
/_cat/shards
/_cat/allocation
/_cat/plugins
/_cat/recovery
/_cat/snapshot
/_cat/repositories
/_cat/health
/_cat/templates
[1]
See also[edit]
- Elasticsearch, installation, ELK, Elastic X-Pack,
elasticsearch.yml
, logs, ECK, Elasticsearch curl URLs, Elastisearch REST APIs,/_cat/, /_cluster/, /_xpack/
, QueryShardException, Elasticsearch index, ELK backup and restore,elasticsearch-cli
, Elasticsearch versions, ElasticSearch Snapshot Lifecycle Management (SLM), Low disk watermark, Elasticsearch storage, Elasticsearch users, Elasticsearch roles, search context, shards, Elastic Cloud, Elastic Licensing, ElasticSearch alerts, ESQL
Advertising: