Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Monitoring Elasticsearch

You're reading from  Monitoring Elasticsearch

Product type Book
Published in Jul 2016
Publisher Packt
ISBN-13 9781784397807
Pages 180 pages
Edition 1st Edition
Languages
Authors (3):
Dan Noble Dan Noble
Profile icon Dan Noble
Pulkit Agrawal Pulkit Agrawal
Mahmoud Lababidi Mahmoud Lababidi
View More author details

The Elasticsearch cat API


Think of the Elasticsearch cat API as a simpler version of the Elasticsearch Cluster and Indices APIs mentioned earlier. The cat API returns results in an easy-to-read, tab-separated format, unlike the JSON returned by the Cluster and Indices APIs.

A complete list of API methods is available at https://www.elastic.co/blog/introducing-cat-api, but there are some highlights, which we cover in the following sections.

Background

Elasticsearch-head and Bigdesk are, for the most part, powered by the Elasticsearch APIs:

These two APIs provide a plethora of information about the inner workings of Elasticsearch. However, they also return large JSON documents that are complicated to interpret quickly. For example, here's a snippet from calling the Indices Stats API:

curl -XGET "http://elasticsearch-node...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}