Difference between revisions of "Elasticsearch index"
Jump to navigation
Jump to search
↑ https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-templates.html
(8 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
* [[Index properties]]: https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html#index-modules | * [[Index properties]]: https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html#index-modules | ||
* [[ILM]] | * [[ILM]] | ||
− | * [[ | + | * [[Curator]] |
+ | == Index operations == | ||
+ | List indexes: | ||
* <code>curl -XGET http://localhost:9200[[/_cat/indices]]?v</code> | * <code>curl -XGET http://localhost:9200[[/_cat/indices]]?v</code> | ||
+ | * <code>curl -XGET "http://localhost:9200[[/_cat/indices]]?v&s=store.size"</code> | ||
+ | * <code>[[curl -k "https://localhost:9200/_cat/indices?v&health=red"]] -u'XXX:UUU'</code> | ||
− | + | Delete index: | |
− | |||
* <code>[[curl -X DELETE]]</code> | * <code>[[curl -X DELETE]]</code> | ||
+ | Show settings: | ||
* <code>[[/myindex/_settings]]</code> | * <code>[[/myindex/_settings]]</code> | ||
+ | |||
+ | |||
+ | == cat API == | ||
+ | {{cat API}} | ||
== Related == | == Related == | ||
Line 23: | Line 31: | ||
* [[Update index settings]] | * [[Update index settings]] | ||
* [[Low disk watermark]] | * [[Low disk watermark]] | ||
+ | * <code>[[index.mapping.total_fields.limit]]</code> | ||
== See also == | == See also == | ||
* {{curator}} | * {{curator}} | ||
+ | * {{ES URLs}} | ||
* {{Elasticsearch}} | * {{Elasticsearch}} | ||
[[Category:Elasticsearch]] | [[Category:Elasticsearch]] |
Latest revision as of 07:59, 30 January 2023
- Index API:
- Index properties: https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html#index-modules
- ILM
- Curator
Contents
Index operations[edit]
List indexes:
curl -XGET http://localhost:9200/_cat/indices?v
curl -XGET "http://localhost:9200/_cat/indices?v&s=store.size"
curl -k "https://localhost:9200/_cat/indices?v&health=red" -u'XXX:UUU'
Delete index:
Show settings:
cat API[edit]
/_cat/indices
/_cat/shards
/_cat/allocation
/_cat/plugins
/_cat/recovery
/_cat/snapshot
/_cat/repositories
/_cat/health
/_cat/templates
[1]
Related[edit]
See also[edit]
- ELK: curator, logs, ILM, Snapshots
- Elasticsearch:
/_cat/, /_nodes/, /_cluster/, /_snapshot/, /_ilm/, /_xpack/, /_search/, /_security/, /my-index/,
/_bulk
- 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: