jlogviewer: JSON Log Viewer
JSON Log Viewer is a UI development tool that makes JSON logs human readable.
JSON fields can be automatically or manually annotated. Filtering makes it easy to find relevant log records.
Source Code: [github.com/allproxy/jlogviewer](https://github.com/allproxy/jlogviewer)
The web application is provided by the allproxy package.
Try JLogViewer Online
To try a readonly
demo:
- Click Try JLogViewer
- On the left side panel click the
Restore Session
button - From the Restore Session Modal click
Restore
to restore the Sample NGINX JSON Log
session - Select the
Queries
dropdown and click a query to filter the log
Install
Install allproxy package
$ npm install -g allproxy
Install jlogviewer package
$ npm install -g jlogviewer
To update the allproxy
and jlogviewer
packages re-run the npm install -g xxx
command.
Run in Browser
Mac/Linux
$ jlogviewer
Windows
$ jlogviewer_win.bat
Open in browser:
localhost:8888/jlogviewer
Install AllProxy Application
The JLogViewer
is integrated into the AllProxy
application which can be installed here.
Filtering
Advanced JSON field and boolean filters can be used to find relevant log records.
Example filters:
- Filter
response:>=400
shows responses with status greater than or equal to 400 - Filter
response:403
shows 403 responses - Filter
agent:wget
shows wget
clients - Filter
bytes:>1000
shows responses that are greater than 1000 bytes - Filter
remote_ip:*
can be used to sort remote IP addresses in ascending order - Filter
-request:GET
shows non-GET requests
License
This code is licensed under the MIT License.