Skip to main content

A powerful CLI tool that puts log analytics at your fingertips.

Project description

Logria Logo

Logria

A powerful CLI tool that puts log analytics at your fingertips.

tl;dr

  • Live filtering of data from other executed processes, replacing grep
  • Use shell commands or files as input, save sessions and come back to them later
  • Replace regex/filter without killing the process or losing the stream's history
  • Parse logs using user-defined rules, apply analytics methods on top
  • Pure Python, fully type hinted, zero dependencies

Installation

There are several options to install this app.

Normal Usage

pip install logria

Development

See Advanced Installation.

Usage

There are a few main ways to invoke Logria:

  • Directly:
    • logria
    • Opens to the setup screen
  • With args:
    • logria -e 'tail -f log.txt'
    • Opens a pipe to 'tail -f log.txt'` and skips setup

For more details, see Sample Usage Session.

Key Commands

Key Command
: command mode
/ regex search
h if regex active, toggle highlighting of matches
i toggle insert mode (default off)
p activate parser
a toggle analytics mode when parser is active
z deactivate parser
scroll buffer up one line
scroll buffer down one line
skip and stick to end of buffer
skip and stick to beginning of buffer

Features

Here are some of ways you can leverage Logria

Live stream of log data

logria

Interactive, live, editable grep

regex

Live log message parsing

parser

Live analytics/statistics tracking

analytics

User-defined saved sessions

See session docs.

User-defined saved log parsing methods

See patterns docs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for logria, version 0.6.2
Filename, size File type Python version Upload date Hashes
Filename, size logria-0.6.2-py3-none-any.whl (41.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size logria-0.6.2.tar.gz (24.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page