Giter Club home page Giter Club logo

elastictl's Introduction

Elastictl

Command Line Client for Managing ElasticSearch Indices.

Requirements

  • PHP 5.4 or later
  • Memcached Server
  • ElasticSearch

Features

  • Easily List all Indices
  • Perform Global Search

Usage

Show information about the cluster

elastictl cluster:info

List all indices

elastictl indices:list

Sort indices by size

bin/elastictl indices:list --sort_by=size

Sort indices by document count

bin/elastictl indices:list --sort_by=documents

Sort indices by document name

bin/elastictl indices:list --sort_by=name

Sort indices by health

bin/elastictl indices:list --sort_by=health

set the output table styling (valid values are compact, default, borderless)

bin/elastictl indices:list --style=compact

show hidden indices (indices that starts with period, often used by Kibana/Marvel for internal purposes)

bin/elastictl indices:list --exclude_hidden=no

filter indices coming from a certain namespace

bin/elastictl indices:list --namespace=domain-logs

the above will only show indices on which the name starts with "domain-logs". So if you have multiple indices partitioned by date, all those will show up. For example:

domain-logs-2017.01
domain-logs-2017.02
domain-logs-2017.03
domain-logs-2017.04

elastictl's People

Contributors

buonzz avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.