tailes

module
v0.0.0-...-3f6b269 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: MPL-2.0

README

tailes

Tail tool to query elasticsearch endpoints, autodetects the elasticsearch version to decide which library to use in the background.

Build

The build process requires gb ( http://getgb.io ) (and hence golang too), just do:

gb vendor restore
gb build

Usage

$ tailes --help

Usage of ./tailes-linux-amd64:
  -debug
    	Enables debug mode and exposes port 8080
  -f	Causes tail to keep reading new entries from Elasticsearch
  -field string
    	Field to apply the query search to (default "message")
  -i string
    	Index to use to query for results (default "logstash-*")
  -n int
    	Specifies the number of search results to be queried (default 10)
  -query string
    	Query to be sent to Elasticsearch (default "*")
  -url string
    	Elasticsearch endpoint to be used

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

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