ltsvq

command module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2020 License: MIT Imports: 11 Imported by: 0

README

ltsvq

ltsvq is LTSV Queryer that written in Go.

Installation

go get github.com/sters/ltsvq

Usage

cat example.ltsv | ltsvq -q "select * from ltsv where host like '192%'"

In real case, for example: Find suspicious remote_addr.

zcat /var/log/nginx/*.gz | ./ltsvq -q 'select count(uri), uri, remote_addr from ltsv where status IN ("400", "401", "403", "404") group by uri order by count(uri) desc' | less

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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