Skip to content

Instantly share code, notes, and snippets.

@veve90
Created August 30, 2016 16:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save veve90/4619533cf6a516eda97ed88ede28503e to your computer and use it in GitHub Desktop.
Save veve90/4619533cf6a516eda97ed88ede28503e to your computer and use it in GitHub Desktop.
GET _cat/
GET /_cluster/health?h=status
PUT /index-2016.06.06
{
"settings": {
"number_of_shards" : 1,
"number_of_replicas" : 0
}
}
PUT /index-2016.01.01/_settings
{
"number_of_replicas": 0
}
POST /index-2016.01.01/_settings
{ "number_of_replicas": 0 }
POST '/index-2016.01.01/_optimize?max_num_segments=1'
POST /index-2016.01.01/_forcemerge?max_num_segments=5
GET /index1,index2/_recovery
GET /_cat/master?v
GET /_cat/nodes?v
GET /_nodes
GET /_nodes/stats
GET '_cat/nodes/stats/indices/fielddata?human&fields=*'
GET /_cat/thread_pool?v
GET /_cat/pending_tasks?v
POST /_cluster/reroute?explain
GET /_cat/segments?v
GET /_cat/indices?v
GET /_cat/fielddata?v
GET /_cat/recovery?v
GET /_cat/plugins?v
GET /_cat/shards?v
GET /_cat/nodeattrs?v
GET /_cat/repositories?v
GET /_cat/count?v
GET /_cat/aliases?v
GET /_cat/allocation?v
GET /_template/.marvel-es
PUT /_all/_settings?preserve_existing=true
{
"index.number_of_replicas" : "0"
}
PUT /_cluster/settings
{
"transient" : {
"logger.discovery" : "DEBUG"
}
}
PUT /my_index/_settings
{
"index.search.slowlog.threshold.query.warn" : "10s",
"index.search.slowlog.threshold.fetch.debug": "500ms",
"index.indexing.slowlog.threshold.index.info": "5s"
}
PUT /_cluster/settings
{
"transient" : {
"logger.index.search.slowlog" : "DEBUG",
"logger.index.indexing.slowlog" : "WARN"
}
}
PUT /index-2016.02.25/_settings
{ "number_of_replicas": 0 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment