ltop

module
v0.0.0-...-ce0f0b0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2020 License: MIT

README

lTop

CLI tool for log files monitoring

Introduction

lTop is using gorilla encoding and compression to keep metrics about log files in memory. More information about the implementation could be found here. Further we have used prometheus implemnation for gorilla encoding. The is copies in chunkenc directory. Further we borrowed some ideas and code form prometheus client and tsdb implementation.

Future Improvements

Currently lTop has only a counter implementation. Adding other types of metrics (like gauge, histogram) will be useful for some particular stats like bytes sent of access log.

Further the design of lTop is fixable to add more filter to different types of log files. The only supported type now is http-access-log

Adding support for more query functions will be useful to estimate function over Series or Matrix(set of Series)

Build and Usage

To build lTop:

make

To get help for using the lTop

ltop --help

The supported filter for now are:

  • http-access-log

Example:

./ltop -l access.log -f http-access-log -c 5 -e 10

Directories

Path Synopsis
cmd
pkg
log

Jump to

Keyboard shortcuts

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