LogbackJsonLogViewer
Sublime Text plugin for viewing Logback style JSON formatted logs
Details
Installs
- Total 456
- Win 211
- Mac 199
- Linux 46
| Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 2 | 0 | 0 | 0 | 0 | 1 | 2 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 | 1 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 1 | 0 | 1 |
| Mac | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 |
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Readme
- Source
- raw.githubusercontent.com
Log Viewer for Logback Style JSON Formatted Logs
Usage
After loading a JSON formatted file, the right click should display the View Log menu item.
It is possible to show/hide or highlight lines with particular severity. It is also possible to show/hide particular columns.
Lines that are not JSON are displayed as they are.
All log levels are visible and no highlight is applied by default. You can show/hide, add or remove particular columns
by editing the LogbackJsonLogViewer.sublime-settings configuration file.
Log Levels
You can toggle log levels using numerical keys:
| Key | Log Level |
|---|---|
1 |
DEBUG |
2 |
INFO |
3 |
WARN |
4 |
ERROR |
Columns
You can toggle pre-defined columns using numerical keys:
| Key | Column |
|---|---|
1 |
@timestamp |
2 |
severity |
3 |
service |
4 |
trace |
5 |
span |
6 |
thread |
7 |
class |
8 |
msg |
9 |
version |
Windows/Linux
super + 1..4- Show or hide the lines with a particular log level (1 - DEBUG, 2 - INFO, 3 - WARN, 4 - ERROR).alt + 1..4- Toggle highlight for log level.ctrl + 1..9- Toggle visibility for a particular column.
MacOS
⌘ + 1..4- Show or hide the lines with a particular log level (1 - DEBUG, 2 - INFO, 3 - WARN, 4 - ERROR).option + 1..4- Toggle highlight for log level.ctrl + 1..9- Toggle visibility for a particular column.
Installation
Package Control
- Open Package Control:
Preferences -> Package Control. - Select
Package Control: Install Package. - Type
LogbackJsonLogViewerinto the search box and select the package to install it.
Manual
Without Git: Download the latest source from GitHub and copy the whole directory into
the Packages directory.
With Git: Clone the repository in your Sublime Text directory, located somewhere in the user's Home directory:
`git clone git@github.com:neno--/LogbackJsonLogViewer.git`
The Packages packages directory is located:
- Windows:
%APPDATA%/Sublime Text/Packages/ - Linux:
~/.Sublime Text/Packages/ - OS X:
~/Library/Application Support/Sublime Text/Packages/