@@ -7,9 +7,9 @@ information *spans nodes*.
77[source,shell]
88--------------------------------------------------
99% curl 'localhost:9200/_cat/indices/twi*?v'
10- health index pri rep docs.count docs.deleted store.size pri.store.size
11- green twitter 5 1 11434 0 64mb 32mb
12- green twitter2 2 0 2030 0 5.8mb 5.8mb
10+ health status index pri rep docs.count docs.deleted store.size pri.store.size
11+ green open twitter 5 1 11434 0 64mb 32mb
12+ green open twitter2 2 0 2030 0 5.8mb 5.8mb
1313--------------------------------------------------
1414
1515We can tell quickly how many shards make up an index, the number of
@@ -33,18 +33,18 @@ Which indices are yellow?
3333[source,shell]
3434--------------------------------------------------
3535% curl localhost:9200/_cat/indices | grep ^yell
36- yellow wiki 2 1 6401 1115 151.4mb 151.4mb
37- yellow twitter 5 1 11434 0 32mb 32mb
36+ yellow open wiki 2 1 6401 1115 151.4mb 151.4mb
37+ yellow open twitter 5 1 11434 0 32mb 32mb
3838--------------------------------------------------
3939
4040What's my largest index by disk usage not including replicas?
4141
4242[source,shell]
4343--------------------------------------------------
4444% curl 'localhost:9200/_cat/indices?bytes=b' | sort -rnk7
45- green wiki 2 0 6401 1115 158843725 158843725
46- green twitter 5 1 11434 0 67155614 33577857
47- green twitter2 2 0 2030 0 6125085 6125085
45+ green open wiki 2 0 6401 1115 158843725 158843725
46+ green open twitter 5 1 11434 0 67155614 33577857
47+ green open twitter2 2 0 2030 0 6125085 6125085
4848--------------------------------------------------
4949
5050How many merge operations have the shards for the `wiki` completed?
0 commit comments