Skip to content
/ sless Public

less-like cli tool for reading large structured logs

Notifications You must be signed in to change notification settings

dpedu2/sless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sless

less-like reader for structured log files

Usage animation

A tool for reading Strucuted Logs aka text files containing newline-separated json objects. Each object is presented as a single line and can be expanded to show all attributes. Reading very large files is supported but large gzipped files do not work well.

Quick start

  • Install: python3 setup.py install
  • Run: sless my_file.json

Requirements

Python 3 and urwid module.

Having the rapidjson module - a faster version of the native json module - is recommended but not required. Alternatively, ujson will also be preferred over the built-in json module.

Customize

Display different key in unexpanded previews: -p or --preview-keys other,keys

Roadmap

  • Filtering
  • Exporting
  • Performance improvements

About

less-like cli tool for reading large structured logs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages