Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

LTSV scanner#127

Open
a2ikm wants to merge 1 commit intorubychan:master from
a2ikm:ltsv
Open

LTSV scanner #127
a2ikm wants to merge 1 commit intorubychan:master from
a2ikm:ltsv

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/ 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /