Skip to content

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