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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file json_log_viewer-0.1.2.tar.gz.

File metadata

  • Download URL: json_log_viewer-0.1.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.11.3 Darwin/21.4.0

File hashes

Hashes for json_log_viewer-0.1.2.tar.gz
Algorithm Hash digest
SHA256 46c7b229d2d48b9fa4c44ea7df45308bf1a563795b0fbb27fa1d44b5bf427927
MD5 938dfdacd80df99174ad3871938c6a8f
BLAKE2b-256 c9e47f115b2f0e5e7a8bee39810238e7d3a20f482f08dfce578b9bfa63c9eddd

See more details on using hashes here.

File details

Details for the file json_log_viewer-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: json_log_viewer-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.11.3 Darwin/21.4.0

File hashes

Hashes for json_log_viewer-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ee5ded76aba44201e946f1c5676306636e9c75769f04aa58effa11ac2f718d3b
MD5 0405612a5af7299ab15ccee0b88d7742
BLAKE2b-256 a571cfdc670134d38f354e1e38023783f0af014caee55c935091918b01287cf8

See more details on using hashes here.

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