Skip to main content

No project description provided

Project description

JSON Log Viewer

A simple tool to extra JSON logs from files, merge them, and display them in an easy-to-read format.

Installation

pip install json-log-viewer

Usage

jlv <FILE1> <FILE2>

File Format

The script expects a file containing JSON objects, any other content will be ignored.

Each JSON object must contain the following fields:

  • level a log level, any of DEBUG, INFO, WARN or ERROR
  • message the log message
  • timestamp the logs time stamp

Any additional fields are displayed as part of the log.

Project details


Download files

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

Source Distribution

json_log_viewer-0.1.2.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

json_log_viewer-0.1.2-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page