# Elasticsearch Examples: Viewing Cluster, Node and Index State

Last updated:

## WIP ALERT This is a work in progress!

#### Using Sense

To avoid having to write CURL calls by hand to talk to Elasticsearch (except in calls to _cat), you can use Sense (Available as an unnoficial chrome add-on or as part of Marvel (free for development use)

For all examples, I've assumed the server is listening on localhoston port 9200. If this isn't the case for you, change it accordingly.

## Examples

health

stats

### What percentage of primary shards are actually assigned to nodes?

TODO: derived form stats

TODO

_nodes/stats

_nodes/stats

TODO

_nodes/stats

stats

stats

_cluster/stats
_nodes/stats