LogbackJsonLogViewer
Sublime Text plugin for viewing Logback style JSON formatted logs
Details
Installs
- Total 388
- Win 174
- Mac 177
- Linux 37
Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | Jul 29 | Jul 28 | Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 2 |
Mac | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 | 0 | 0 | 0 | 0 |
Linux | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
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
LogbackJsonLogViewer
into 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/