github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

tobi / clarity

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 495
    • 14
  • Source
  • Commits
  • Network (14)
  • Issues (1)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (3)
    • 3cb1cb92dc196b1d84a30ed12b906ad8a141aa27
    • gh-pages
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Web interface for the grep and tail -f unix tools. Useful for real-time log analysis. Remotely related to splunk — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

allow tailing of files that don't match /\.log$/ 
pc (author)
Mon Dec 21 11:50:49 -0800 2009
tobi (committer)
Mon Dec 21 21:35:49 -0800 2009
commit  542dacbbf1c887e5feefdc8476a46e3537c57655
tree    22b02fefa010a1fe14aa3b64ddc1526ed6a0f103
parent  8f39d2ea141afb9dfd6f58f46c0657cc3c72fbce
clarity /
name age
history
message
file .gitignore Fri Dec 11 22:41:48 -0800 2009 work with a relative root [kastner]
file Gemfile Fri Dec 11 22:41:48 -0800 2009 work with a relative root [kastner]
file History.txt Sat Oct 31 14:23:51 -0700 2009 refactored clarity to work as gem [tobi]
file Manifest.txt Sat Dec 05 08:36:34 -0800 2009 fixups [tobi]
file PostInstall.txt Sat Oct 31 14:23:51 -0700 2009 refactored clarity to work as gem [tobi]
file README.rdoc Mon Dec 21 07:43:34 -0800 2009 Add security warning [Tobias Lütke]
file Rakefile Sat Dec 05 08:36:34 -0800 2009 fixups [tobi]
directory bin/ Tue Dec 15 21:11:38 -0800 2009 Added zcat / gzcat detection. [watsonian]
directory config/ Sat Oct 31 11:51:50 -0700 2009 make port configurable [codyfauser]
directory lib/ Mon Dec 21 21:35:49 -0800 2009 allow tailing of files that don't match /\.log$/ [pc]
directory public/ Sat Oct 31 14:37:34 -0700 2009 fixed username&password [tobi]
directory script/ Sat Oct 31 14:23:51 -0700 2009 refactored clarity to work as gem [tobi]
directory test/ Sat Dec 05 08:17:29 -0800 2009 removed special purpose parsers [tobi]
directory views/ Mon Dec 21 21:35:49 -0800 2009 allow tailing of files that don't match /\.log$/ [pc]
README.rdoc

Clarity

  • github.com/tobi/clarity

DESCRIPTION:

Clarity - a log search tool By John Tajima & Tobi Lütke

Clarity is a Splunk like web interface for your server log files. It supports searching (using grep) as well as trailing log files in realtime. It has been written using the event based architecture based on EventMachine and so allows real-time search of very large log files. If you hit the browser Stop button it will also kill the grep / tail utility.

We wrote Clarity to allow our support staff to use a simple interface to look through the various log files in our server farm. The application was such a big success internally that we decided to release it as open source.

SECURITY:

Warning: Clarity takes parameters from URLs and runs them in the shell. This is essentially the most insecure thing imaginable. You have to make absolutley sure that clarity isn’t reachable by the outside world. At the very least use —username and —password to put some protection on it.

USAGE:

  clarity --username=admin --password=secret --port=8989 /var/log

COMMANDLINE:

  Specific options:
      -f, --config=FILE                Config file (yml)
      -p, --port=PORT                  Port to listen on
      -b, --address=ADDRESS            Address to bind to (default 0.0.0.0)
          --include=MASK               File mask of logs to add (default: **/*.log*)
          --user=USER                  User to run as
  Password protection:
          --username=USER              Enable httpauth username
          --password=PASS              Enable httpauth password
  Misc:
      -h, --help                       Show this message.

SCREENSHOT:

REQUIREMENTS:

  * eventmachine
  * eventmachine_httpserver
  * json

INSTALL:

  * sudo gem install clarity

LICENSE:

(The MIT License)

Copyright © 2009 Tobias Lütke

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OT

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server