Skip to content

sidilabs/kishell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Actions Status Code Coverage Go Report Card CII Best Practices

kishell

Data export CLI for Elasticsearch

Build

go build -v github.com/sidilabs/kishell/cmd/kishell

Usage

Read the manual:

./kishell configure -h
Usage: kishell configure

Init ES server configs

Flags:
  -h, --help      Show context-sensitive help.
      --debug     Enable debug mode.

      --server    Add a new server definition
      --role      Add a new role definition
      --reset     Reset the whole configuration

Add a server to the configuration:

./kishell configure --server

Example given:

    Server name: local
    Protocol: http
    Hostname: localhost
    Port: 5601
    Username: 
    Password: 
    Kibana Version: 6.8.6
    Set as default? [Y/n]: 

Define the role to be used:

./kishell configure --role

Example given:

    Role name: local
    Index name: logstash-*
    Window filter time (e.g. @timestamp, modified_date): @timestamp
    Set as default? [Y/n]: 

Send queries to Elasticsearch using the query string syntax:

./kishell search <QUERY>

Example given:

./kishell search --newer="8760h" --query="clientip:172.155.107.128"

About

Data visualization CLI for Elasticsearch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •