kishell

module
v0.0.0-...-e830f39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2021 License: Apache-2.0

README

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"

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL