Skip to content

tristanls/snippet-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snippet-cli

Stability: 1 - Experimental

NPM version

Snippet command-line interface for parsing logs and pushing them through a local Logstash -> Elasticsearch -> Kibana pipeline.

Prerequisites

snippet requires Java to be installed. It should be a version sufficient to run Elasticsearch and Logstash.

Installation

npm install -g snippet-cli

Usage

~$ snippet -h
Usage: snippet <command>

where <command> is one of:
   configfile, elasticsearch, kibana, lines, logstash, parse

snippet <command> -h    quick help on <command>

For example:

~$ snippet parse combined-apache-log my.log

About

Snippet command-line interface

Resources

Stars

Watchers

Forks

Packages

No packages published