Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/ci-jie/elasticsearch-toolbox

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/ci-jie/elasticsearch-toolbox

  • v0.0.0-20210704172350-2774032d466b
  • Source
  • Go
  • Socket score

Version published
Created
Source

Elasticsearch Toolbox

A collection of tools for maintaining an Elasticsearch cluster. Most tools are wrapped up into a small web server with a UI. These tools are are generally written with log searching as the primary use case.

  • Rotate indices.
  • Backup indices(repository and snapshot).
  • Restore indices.

Building from Source

Clone repo into your go path under $GOPATH/src:

$ git clone https://github.com/kairen/elasticsearch-toolbox.git $GOPATH/src/github.com/kairen/elasticsearch-toolbox
$ cd $GOPATH/src/github.com/kairen/elasticsearch-toolbox
$ make

Usage

$ ./out/elasticsearch-toolbox
Maintaining and operating an Elasticsearch cluster.

Usage:
  elasticsearch-toolbox [command]

Available Commands:
  help        Help about any command
  repository  Create a repository to place snapshots
  rotate      Delete expired indices
  snapshot    Create a snapshot for backuping indices
  version     Print the version information

Flags:
      --alsologtostderr                  log to standard error as well as files
      --endpoints strings                Endpoints of elasticsearch. (default [http://elasticsearch:9200])
  -h, --help                             help for elasticsearch-toolbox
      --log_backtrace_at traceLocation   when logging hits line file:N, emit a stack trace (default :0)
      --log_dir string                   If non-empty, write log files in this directory
      --logtostderr                      log to standard error instead of files
      --password string                  Password for basic auth.
      --retry-count int                  The number of retry for deleting request. (default 5)
      --sniffer                          Enable client to use a sniffing process for finding all nodes of your cluster.
      --stderrthreshold severity         logs at or above this threshold go to stderr (default 2)
      --tls.ca string                    SSL Certificate Authority file used to secure elasticsearch communication.
      --tls.cert string                  SSL certification file used to secure elasticsearch communication.
      --tls.key string                   SSL key file used to secure elasticsearch communication.
      --tls.skip-host-verify             (insecure) Skip server's certificate chain and host name verification
      --username string                  Username for basic auth.
  -v, --v Level                          log level for V logs
      --vmodule moduleSpec               comma-separated list of pattern=N settings for file-filtered logging

Use "elasticsearch-toolbox [command] --help" for more information about a command.

FAQs

Package last updated on 04 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc