Difference between revisions of "Elasticsearch curl URLs"
Jump to navigation
Jump to search
↑ https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-templates.html
(28 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | |||
+ | |||
+ | == Options == | ||
+ | {{ES URLs TOC}} | ||
+ | |||
+ | |||
+ | |||
+ | |||
* Status: | * Status: | ||
::<code>[[curl https://localhost:9200/_nodes/status]]</code> | ::<code>[[curl https://localhost:9200/_nodes/status]]</code> | ||
::<code>[[curl --insecure https://localhost:9200/_nodes/status -u]] "your_usename:your_password"</code> | ::<code>[[curl --insecure https://localhost:9200/_nodes/status -u]] "your_usename:your_password"</code> | ||
− | + | ||
+ | * <code>[[-k]] or [[--insecure]] https://your_username:your_password@localhost:9200/</code> | ||
+ | [[/_cluster/|Cluster]]: | ||
+ | {{cluster API}} | ||
::<code>[[curl https://localhost:9200/_cluster/health]]</code> | ::<code>[[curl https://localhost:9200/_cluster/health]]</code> | ||
− | [[/_cluster/settings]] | + | |
+ | * <code>[[/_cluster/settings]]</code> | ||
Line 29: | Line 41: | ||
− | |||
− | GET _ilm/policy | + | GET [[/_ilm/]]policy |
− | |||
− | GET [[/_snapshot/]] | + | |
+ | [[/_xpack/security/role/search_user]] | ||
+ | [[/_xpack/security/user/adminsearch]] | ||
+ | |||
+ | GET [[/_search/]]scroll | ||
+ | |||
+ | GET [[/_snapshot]] | ||
+ | [[PUT /_snapshot/]]your-repo | ||
+ | POST /_snapshot/your-repo | ||
[[/_cat/snapshots/]] | [[/_cat/snapshots/]] | ||
− | + | Cat | |
− | + | {{cat API}} | |
== Related == | == Related == | ||
* <code>[[cURL]]</code> | * <code>[[cURL]]</code> | ||
* <code>[[opensearch-cli curl]]</code> | * <code>[[opensearch-cli curl]]</code> | ||
+ | * [[Elastisearch REST APIs]] | ||
== See also == | == See also == | ||
+ | * {{ES URLs}} | ||
* {{Elasticsearch}} | * {{Elasticsearch}} | ||
[[Category:ELK]] | [[Category:ELK]] | ||
[[Category:Elasticsearch]] | [[Category:Elasticsearch]] |
Latest revision as of 18:00, 13 November 2022
Options[edit]
- Status:
curl https://localhost:9200/_nodes/status
curl --insecure https://localhost:9200/_nodes/status -u "your_usename:your_password"
GET /_cluster/settings
/_cluster/settings?include_defaults
/_cluster/health
/_cluster/settings
GET /_cluster/allocation/explain
PUT /_cluster/settings
- Indexes/Nodes/Aliases/Plugins:
curl -XGET --insecure https://localhost:9200/_cat/nodes?v -u 'admin:admin' curl -XGET --insecure https://localhost:9200/_cat/plugins?v -u 'admin:admin'
- Delete ALL index:
curl -X DELETE 'http://localhost:9200/_all'
curl -X POST --insecure https://your_username:YOUR_PASS@localhost:9200/_snapshot/your_repo/your_latest_snapshot_name/_restore
GET /_ilm/policy
/_xpack/security/role/search_user /_xpack/security/user/adminsearch
GET /_search/scroll
GET /_snapshot PUT /_snapshot/your-repo POST /_snapshot/your-repo
/_cat/snapshots/
Cat
/_cat/indices
/_cat/shards
/_cat/allocation
/_cat/plugins
/_cat/recovery
/_cat/snapshot
/_cat/repositories
/_cat/health
/_cat/templates
[1]
Related[edit]
See also[edit]
- 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: