Sign inSign up

lmenezes/elasticsearch-kopf

By lmenezes

•Updated almost 11 years ago

elasticsearch kopf

Image
18

1M+

lmenezes/elasticsearch-kopf repository overview

⁠elasticsearch kopf

kopf is a simple web administration tool for ElasticSearch⁠ written in JavaScript + AngularJS + jQuery + Twitter bootstrap.

It offers an easy way of performing common tasks on an elasticsearch cluster. Not every single API is covered by this plugin, but it does offer a REST client which allows you to explore the full potential of the ElasticSearch API.

⁠Versions

elasticsearch versionkopf version
0.90.Xv0.90
1.Xmaster

⁠Installation

####Run locally:

git clone git://github.com/lmenezes/elasticsearch-kopf.git
cd elasticsearch-kopf
git checkout {version}
open index.html

ps: local execution doesn't work with Chrome(and maybe other browsers). See more here⁠.

Alternatively you can run it via connect which should solve the ng-include issue.

git clone git://github.com/lmenezes/elasticsearch-kopf.git
cd elasticsearch-kopf
git checkout {version}
npm install
grunt server

####Install on a ElasticSearch instance:

./elasticsearch/bin/plugin --install lmenezes/elasticsearch-kopf/{version}
open http://localhost:9200/_plugin/kopf

####Kopf behind a reverse proxy Example configuration for nginx:

server {
  listen       8080;
  server_name  localhost;

  location ~ ^/es.*$ {
    proxy_pass http://localhost:9200;
    rewrite ^/es(.*) /$1 break;
  }

  location ~ ^/kopf/.*$ {
    proxy_pass http://localhost:9200;
    rewrite ^/kopf/(.*) /_plugin/kopf/$1 break;
  }
}

Example configuration for kopf(kopf_external_settings.json):

{
  "elasticsearch_root_path": "/es",
  "with_credentials": false,
  "theme": "dark",
  "refresh_rate": 5000
}

Access kopf at http://localhost:8080/kopf/⁠ ####Try it online:

http://lmenezes.com/elasticsearch-kopf/?location=http://localhost:9200

####Basic HTTP Auth support:

http://lmenezes.com/elasticsearch-kopf/?location=http://user:pwd@localhost:9200

if using https://github.com/Asquera/elasticsearch-http-basic⁠, try:

http://lmenezes.com/elasticsearch-kopf/?location=http://user:pwd@localhost:9200//

The plugin modifies the base elasticsearch response and therefore this workaround is needed.

⁠Screenshots

####cluster overview cluster overview

####header reflects cluster state cluster state

####REST Client rest client

####aliases management aliases management

####warmers management warmers management

####percolator percolator

####snapshots management snapshots management

####analysis api analysis api

Tag summary

Content type

Image

Digest

sha256:74165af04…

Size

69.3 MB

Last updated

almost 11 years ago

docker pull lmenezes/elasticsearch-kopf