Skip to content
/ logan Public

Python web based interface for log viewing/searching (tail/head/grep)

License

Notifications You must be signed in to change notification settings

jph98/logan

Repository files navigation

Logan Log Viewer

Logan Screenshot

Logan is a web based interface real-time log viewer/searcher.

Built upon:

Installation

Install dependencies with:

sudo pip install flask pyyaml tailer grin

Then run:

./logagent.py

Configuration

Look at logagentconfig.yaml:

Specifies the number of lines to display maximum:

grepnumlines: 250

Specifies the number of lines before/after the match to display:

searchbeforecontext: 2
searchaftercontext: 2

Specifies the valid extensions for files found in 'directories':

extensions:
 - log
 - out

To configure the directories to view/search within:

directories:
 - /var/log
 - /Users/jonathan/temp

About

Python web based interface for log viewing/searching (tail/head/grep)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published