You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is an interactive tool for viewing and analyzing complex log files with structured JSON logs.
8
+
It is an **interactive** tool for viewing and analyzing complex structured [json-log](assets/example.log) files.
9
9
10
10

11
11
12
12
Main features:
13
13
1. It is interactive.
14
-
2.Is shows similified log records.
15
-
3. It is possible to see the full prettified JSON after clicking.
16
-
4.It includes non-JSON logs as they are.
17
-
5. It understands different field names.
14
+
2.It displays a compact list of log entries.
15
+
3. It is possible to expand the log and see the full prettified JSON tree.
16
+
4.All non-json logs are captured.
17
+
5. It understands different field names: `time`, `timestamp`, `msg`, `message`, `err`, `error` etc.
18
18
6. It supports case-insensitive filtering.
19
19
7. It is simple.
20
20
21
-
It uses [antonmedv/fx](https://github.com/antonmedv/fx) for viewing JSON and [charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) for terminal UI. The tool is inspired by the project [json-log-viewer](https://github.com/gistia/json-log-viewer) which is unfortunately outdated.
21
+
It uses [antonmedv/fx](https://github.com/antonmedv/fx) for viewing JSON records and [charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) for organizing the terminal UI. The tool is inspired by the project [json-log-viewer](https://github.com/gistia/json-log-viewer) which is unfortunately outdated and deserted.
22
+
23
+
The application is designed to help in visualization, navigation, and analyzing of JSON-formatted log data in a user-friendly and interactive manner. It provides a structured and organized view of the JSON logs, making it easier to comprehend the hierarchical nature of the data. It uses collapsible/expandable tree structures, indentation, and color-coded syntax to represent the JSON objects and arrays. It is possible to search for specific keywords, phrases, or patterns within the JSON logs. So it helps to significantly simplify the process of working with JSON logs, making it more intuitive and efficient. It is easy to troubleshoot issues, monitor system performance, or gain a deeper understanding of the application's behavior by analyzing its log data in post-mortem.
22
24
23
25
## Table of content
24
26
@@ -31,11 +33,10 @@ It uses [antonmedv/fx](https://github.com/antonmedv/fx) for viewing JSON and [ch
31
33
-[Package](#package)
32
34
-[Standalone Binary](#standalone-binary)
33
35
-[Source](#source)
34
-
-[Roadmap](#roadmap)
35
36
-[Resources](#resources)
37
+
-[Contribution](#contribution)
36
38
-[License](#license)
37
39
38
-
39
40
## Usage
40
41
41
42
```sh
@@ -56,12 +57,14 @@ jlv file.json
56
57
57
58
```sh
58
59
brew install hedhyw/main/jlv
60
+
# jlv application.log
59
61
```
60
62
61
63
### Go
62
64
63
-
```bash
65
+
```sh
64
66
go install github.com/hedhyw/json-log-viewer/cmd/jlv@latest
67
+
# jlv application.log
65
68
```
66
69
67
70
### Package
@@ -74,20 +77,15 @@ Download latest archive `*.tar.gz` for your target platform from [the releases p
0 commit comments