Makes searching logs stored in elasticsearch from the command line easy.
Go to file
Zane C. B-H 9153e61b86 Merge branch 'master' of github.com:VVelox/Search-ESsearcher 2019-06-05 04:53:50 -05:00
Search-ESsearcher add missing options to postfix pod 2019-06-05 04:52:10 -05:00
.gitignore Initial commit 2019-05-24 22:52:40 -05:00
LICENSE Initial commit 2019-05-24 22:52:40 -05:00
README.md begin updating the readme 2019-06-05 03:59:16 -05:00
essearcher.png Add files via upload 2019-06-05 01:51:36 -05:00

README.md

About

essearcher

It provides a dynamic system for searching logs stored in Elasticsearch. Currently it has out of the box support for the items below.

It has 5 parts that are listed below.

  • options : Getopt::Long options that are parsed after the initial basic options. These are stored and used with the search and output template.
  • elastic : This is a JSON that contains the options that will be used to initialize Search::Elasticsearch.
  • search : This is a Template template that will be fed to Search::Elasticsearch->search.
  • output : This is a Template template that will be be used on each found item.
  • output : This is a Template template that will be be used on each found item.

It will search for those specified in the following order.

  1. $ENV{'HOME'}.'/.config/essearcher/'.$part.'/'.$name
  2. $base.'/etc/essearcher/'.help.'/'.$name
  3. Search::ESsearcher::Templates::$name->$part (except for elastic)

INSTALLING

FreeBSD

Linux

CentOS

yum install cpan
cpan Search::ESsearcher

Debian

apt install perl perl-base perl-modules make
cpan Search::ESsearcher