Skip to content

A command line interface (CLI) to interact with OpenSearch (or Elasticsearch)

License

Notifications You must be signed in to change notification settings

denysvitali/elastically

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elastically

A command line interface (CLI) to interact with OpenSearch (or Elasticsearch)

Supported Features

  • List Indexes
  • Delete Index

Requirements

  • Go >= 1.13

Build

$ go build -o elastically ./cmd
$ ./elastically -h

Usage

Usage: elastically [--url URL] [--sniff] [--loglevel LOGLEVEL] <command> [<args>]

Options:
  --url URL, -u URL
  --sniff, -s            Sniff nodes, then connect to them
  --loglevel LOGLEVEL [default: info]
  --help, -h             display this help and exit

Commands:
  index

Index Subcommand

Usage: elastically index <command> [<args>]

Options:
  --help, -h             display this help and exit

Commands:
  list
  delete

List Indices

$ elastically index list   
.opensearch_dashboards_1
fluentd
logstash-2021.04.18
(...)

Delete index

$ elastically index delete fluentd
fluentd delete successfully!

About

A command line interface (CLI) to interact with OpenSearch (or Elasticsearch)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published