Giter Site home page Giter Site logo

json-log-explorer's Introduction

JSON Log Explorer

A UI for exploring JSON logs.

Screenshot of UI

Install

No funny stuff, Lebowski.

  1. Download and extract
     mkdir ~/json-log-explorer
     cd ~/json-log-explorer
     wget https://github.com/corytheboyd-smartsheet/json-log-explorer/releases/latest/download/json-log-explorer.tar.gz
     tar -xf json-log-explorer.tar.gz
     rm json-log-explorer.tar.gz
    
  2. Run the JSON Log Explorer web app:
    # cd ~/json-log-explorer
    bin/server -port 8081 -address localhost
    # 2022/10/11 15:37:48 Starting server: address=`localhost:8081` publicPath=`/Users/cboyd/json-log-explorer/public`
    
  3. Open address in browser http://localhost:8081

Usage

To see some logs, you must do at least:

  1. Add a Connection
  2. Send logs to JSON Log Viewer through a Connection
  3. Select Paths to begin showing logs in the table

Connection

You need to bring your own WebSocket server that emits log lines to JSON Log Explorer.

Luckily that's pretty darn easy to do. For example, Boulder logs:

brew install websocketd
websocketd -p 7000 tail -f ~/path/to/boulder/log/development.log

This creates a WebSocket server on port 7000. Now just add it as a Connection:

Adding a connection

Development

Release a new build:

  1. Increment VERSION.txt
  2. Run scripts
    bin/build
    
    # Must have `gh` CLI installed and authorized to run release script
    bin/release
    

json-log-explorer's People

Contributors

corytheboyd-smartsheet avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.