• Stars
    star
    664
  • Rank 67,903 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 12 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple tool to inspect the state and statistics about ElasticSearch clusters

ElasticSearch Paramedic

Paramedic is a simple yet sexy tool to monitor and inspect ElasticSearch clusters.

It displays real-time statistics and information about your nodes and indices, as well as shard allocation within the cluster.

The application is written in JavaScript, using the Ember.js framework for sanity and the Cubism.js library for visuals. While the project is useful, the codebase, with most logic in controllers, lacking proper component separation and test suite, can't be considered mature enough, yet.

For basic overview, see a screenshot below.

ElasticSearch Paramedic Screenshot

Versions

elasticsearch version branch latest version
1.X 1.0 1.0
2.X 2.0 2.0

Installation

The easiest way to check out the application is to open it in a modern browser: http://karmi.github.com/elasticsearch-paramedic.

If you have ElasticSearch running on http://localhost:9200, you should see the stats for your cluster.

You can also download or clone this repository and open the index.html file in your browser:

git clone git://github.com/karmi/elasticsearch-paramedic.git && cd elasticsearch-paramedic
cd elasticsearch-paramedic
git checkout {branch|version}
open index.html

The easiest way to use Paramedic in production is to install it as an ElasticSearch plugin:

bin/plugin install karmi/elasticsearch-paramedic/{branch|version}

If your cluster is publicly accessible (authenticated with firewall rules or HTTP Authentication via proxy), open it in your browser:

open http://localhost:9200/_plugin/paramedic/index.html

Overview

The application displays basic information about your cluster: cluster name, health, number of nodes and shards, etc., using the Cluster Health API.

The “Stats” chart displays key metrics from the Nodes Stats API, updated every second.

The “Nodes” part displays the most important information about the cluster nodes (used disk space and memory, number of nodes, machine load and ElasticSearch CPU consumption, etc.), using the Nodes Info and Nodes Stats APIs.

The “Indices” part displays basic information about the indices: number of primary shards, number of replicas, basic index statistics, using the Cluster State, Indices Status and Indices Stats APIs. Primary shards are displayed in blue, allocated replicas in green, unassigned replicas in yellow, and unassigned (missing) primary shards in red.

To display shard allocation across the nodes, use the “Show Details” button. All information is updated periodically, which allows you to see node and index statistics, shard initialization or relocation, etc. in real time.

Note, that a considerable number of Ajax calls is being performed, and launching the application for large clusters, with large number of nodes and indices/shards, may leave your browser unresponsive, or crash your machine. Try increasing the polling interval and hiding the charts if you experience performance problems.

The application performance has been successfuly tested for clusters with around five nodes and sixty shards.

Similar Applications

You are encouraged to try similar existing tools for ElasticSearch:


Karel Minarik

More Repositories

1

retire

A rich Ruby API and DSL for the Elasticsearch search engine
Ruby
1,870
star
2

marley

Minimalist blogging engine without textareas based on Markdown, Ruby, Sinatra and Git push hooks
Ruby
246
star
3

monittr

Ruby and web interface for Monit statistics
Ruby
237
star
4

localized_country_select

Rails plugin for localized "country_select" helper with Rake task for downloading locales from Unicode.org's CLDR
Ruby
180
star
5

pushr

Deploy Rails applications automatically by running Capistrano tasks with Git post-commit hooks
Ruby
113
star
6

ember-data-elasticsearch

elasticsearch adapter for Ember Data
JavaScript
94
star
7

rails-deployment-setups-sprinkle

Collection of recipes for various Ruby On Rails deployment setups
Ruby
69
star
8

tire-contrib

Additions and extensions for the Tire gem
Ruby
65
star
9

chef-hello-cloud

A demo of a full stack Rails application deployment (1x load balancer, 3x appserver, 1x database, 3x elasticsearch) with Chef Server
Ruby
59
star
10

visualizing-couchdb-changes-with-node-js

An experiment in basic real-time visualization of CouchDB _changes stream with Node.js and Socket.IO
JavaScript
32
star
11

chef-solo-hello-world

A tutorial for Chef Solo
Ruby
31
star
12

yaml_micro_chat

YAML based micro-chat in Sinatra framework for Ruby
Ruby
31
star
13

rails_i18n_demo_app

Demo for Rails 2.2 internationalization & localization features
Ruby
27
star
14

dotfiles

Vim Script
19
star
15

couchdb-showcase

A small application to demonstrate basic CouchDB features
JavaScript
18
star
16

clearance_http_auth

Simple, instant HTTP Basic Authentication for applications using Clearance
Ruby
16
star
17

redis_twitter_example

An executable tutorial showcasing Twitter “lookalike” in Redis for the Czech and Slovak PostgreSQL User Group talk
Shell
14
star
18

hide

Search for Jekyll websites
Ruby
13
star
19

sheep_in_your_shoes

A tutorial game in Shoes for teaching OOP
Ruby
12
star
20

sinatra_workshop_tutorials

Collection of small apps to demonstrate Sinatra micro-framework and it's stage
Ruby
10
star
21

workshop_tutorial_application

Tutorial Ruby on Rails application (similar to www.tadalist.com) coded live on workshops. Development steps can be reconstructed from commits.
Ruby
10
star
22

smokes

Tracking your nicotine intake with CouchDB and Protovis
JavaScript
9
star
23

colibriary

Demo application to show how to use Cucumber stories in Czech
Ruby
8
star
24

markout

Export sexy formatted documents with history from plain text files. Work in progress.
JavaScript
8
star
25

shoes_demonstration_apps

Collection of tiny apps to demonstrate Shoes GUI toolkit at lectures, user group meetings, etc
Ruby
7
star
26

elastic-stack-demo

Demo of the observability features of the Elastic Stack
Go
6
star
27

gotalks

JavaScript
5
star
28

es-rails-example

Demo for the Elasticsearch integration with Ruby On Rails (ElasticON 2016)
Ruby
5
star
29

wikipedia_history_viz

Ruby
5
star
30

elasticsearch_webexpo_demo

Demo of Distributed Features for Webexpo 2011
Ruby
4
star
31

resque-demo

A set of scripts to demonstrate the Resque framework for processing background jobs
Ruby
3
star
32

markout-tmbundle

Ruby
3
star
33

consolelog

A ConsoleWriter for rs/zerolog
Go
3
star
34

calculator

Calculator: example repository for Git workshops
JavaScript
2
star
35

tdd_tutorial_by_numbers

Test-Driven Development in Ruby by Numbers (tutorial)
Ruby
2
star
36

test_default_url_options

testing default_url_options in Rails
Ruby
2
star
37

bouncy_air

Just. Fooling. Around
ActionScript
2
star
38

dm-elasticsearch

Ruby
2
star
39

pushr_notifiers

Example of notification classes for Pushr. Heavily inspired by Integrity
Ruby
2
star
40

pushr_test_app

Just testing something :)
Ruby
1
star
41

wikipedia_metal_umlaut

1
star
42

webexpo_demo_app

Demonstrační aplikace pro přednášku na konferenci Webexpo
Ruby
1
star
43

tire_facet_filter_problem

Ruby
1
star
44

karmi.github.com

1
star
45

slingshot

Ruby client for ElasticSearch
1
star