ivannpaz / elasticop

CLI tool to perform some basic Elasticsearch tasks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[WIP] Elastic Operator Toolkit

Provide an easy (albeit simplified) access to some common tasks performed while using Elasticsearch.

Configuration

Copy config.yml.dist as config.yml, then edit it to suit your needs.

Commands

config

Use to display current configuration (contents of config.yml or the specified configuration loaded via -c flag)

$ elasticop config
{
  "settings": {
    "enabled": 1,
    "other": "yes"
  },
  "clusters": [
    {
      "name": "cluster_1",
      "description": "Cluster 1",
      "url": "http://localhost:9200"
    },
    {
      "name": "cluster_2",
      "description": "Cluster 2",
      "url": "http://localhost:9200",
      "username": "does_not_exit",
      "password": "not_a_password"
    },
    {
      "name": "cluster_3",
      "description": "Cluster 2",
      "cluster_id": "ff02dd45dd21eeff",
      "username": "does_not_exit",
      "password": "not_a_password"
    }
  ]
}

template

TBD

mapping

TBD

About

CLI tool to perform some basic Elasticsearch tasks

License:Apache License 2.0


Languages

Language:Go 91.3%Language:Makefile 8.7%