Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LTSV scanner #127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

LTSV scanner #127

wants to merge 1 commit into from

Conversation

a2ikm
Copy link

@a2ikm a2ikm commented May 15, 2013

I've written a Coderay scanner for LTSV (Labeled Tab-Separated Values) which is a text format like below:

host:127.0.0.1<TAB>ident:-<TAB>user:frank<TAB>time:[10/Oct/2000:13:55:36 -0700]<TAB>req:GET /apache_pb.gif HTTP/1.0<TAB>status:200<TAB>size:2326<TAB>referer:http://www.example.com/start.html<TAB>ua:Mozilla/4.08 [en] (Win98; I ;Nav)

It is mainly used for logs and actually supported by fluentd, a log collector.

I use this format for logging web servers and applications, and watching it with ltsview, but it is difficult to recognize labels or values. So I wrote the scanner to color them.

Thanks.

LTSV is a text format described at: http://ltsv.org/
@korny korny added the Scanners label Feb 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants