|
4 | 4 | ![Open feature requests][feature-requests-shield]
|
5 | 5 | ![CLP on Zulip][zulip-shield]
|
6 | 6 |
|
7 |
| -`yscope-log-viewer` is a tool that can be used to view log files. It currently |
8 |
| -supports [CLP][clp-repo]'s compressed log files (IR streams) and JSON log files. |
9 |
| -The viewer can be used to navigate the log file, filter by log level, view the |
10 |
| -logs with syntax highlighting, and generate direct links to specific log events. |
| 7 | +The YScope Log Viewer is a tool that can be used to view log files. It currently supports |
| 8 | +[CLP][clp-repo]'s compressed log files (IR streams) and JSON log files. The viewer can be used to |
| 9 | +navigate the log file, filter by log level, view the logs with syntax highlighting, and generate |
| 10 | +direct links to specific log events. |
11 | 11 |
|
12 |
| -See the [online demo](#online-demo) section to try out the log viewer on a |
13 |
| -sample log file. To set up a local server, follow the |
14 |
| -[build guide](docs/dev-guide/building.md). |
| 12 | +See the [demo](#demo) section to try the log viewer on a sample log file. Or you can generate your |
| 13 | +own compressed log files using one of our [libraries][docs-site/generating-ir-stream-logs]. |
15 | 14 |
|
16 |
| -See the [features in development](#features-in-development) section for upcoming |
17 |
| -features. |
| 15 | +Want to report a bug or request a feature? Check out the [feedback](#providing-feedback) section. |
| 16 | +A list of [features in development][docs-site/features-in-development] is available on our |
| 17 | +[docs site][docs-site]. |
18 | 18 |
|
19 |
| -# Online Demo |
| 19 | +# Demo |
| 20 | + |
| 21 | +A demo of the viewer available [here][online-demo]. |
20 | 22 |
|
21 |
| -* A demo of the log viewer can be found [here][online-demo]. |
22 | 23 | * The demo loads a Hadoop YARN log file from the [hive-24hrs] log dataset.
|
23 | 24 | * More info on the dataset and other datasets can be found [here][datasets].
|
24 |
| -* To open an IR stream, drag and drop it onto the log viewer or use the open |
25 |
| - file dialog. |
26 |
| - |
27 |
| -# Generating IR Stream Logs |
28 |
| - |
29 |
| -IR stream log files can currently be generated using these libraries: |
30 |
| - |
31 |
| -* [Log4j Logging Library][log4j1-appenders] |
32 |
| -* [Logback Logging Library][logback-appenders] |
33 |
| -* [Python Logging Library][clp-loglib-py] |
34 |
| -* Golang Logging Library (in development) |
35 |
| - |
36 |
| -# How does it work? |
| 25 | +* To open an IR stream, drag and drop it onto the log viewer or use the open file dialog. |
37 | 26 |
|
38 |
| -The log viewer is written using the ReactJS framework and uses the open source |
39 |
| -[monaco-editor] and [clp-ffi-js]. |
| 27 | +# Docs |
40 | 28 |
|
41 |
| -The viewer spawns a worker to assist with computationally intensive tasks such |
42 |
| -as: |
| 29 | +The log viewer's docs are available [here][docs-site]. |
43 | 30 |
|
44 |
| -* Deserializing the file and creating an index of logs events. |
45 |
| -* Paginating the indexed logs. |
46 |
| -* Decoding the deserialized log events into plain text. |
| 31 | +# Providing feedback |
47 | 32 |
|
48 |
| -Tasks are passed to the worker as needed and changes are rendered in the UI. |
49 |
| - |
50 |
| -# Providing Feedback |
51 |
| - |
52 |
| -You can use GitHub issues to [report a bug][report-bug] or |
53 |
| -[request a feature][request-feature]. |
| 33 | +You can use GitHub issues to [report a bug][bug-report] or [request a feature][feature-req]. |
54 | 34 |
|
55 | 35 | Join us on [Zulip][zulip] to chat with developers and other community members.
|
56 | 36 |
|
57 | 37 | # Contributing
|
58 | 38 |
|
59 |
| -See the docs in our [developer guide](docs/dev-guide). |
60 |
| - |
61 |
| -# Features in Development |
62 |
| - |
63 |
| -* Pretty printing to enhance the readability of structured data in the logs. |
64 |
| -* A dashboard to visualize the distribution of log types and log levels. |
65 |
| -* Support for plain text, archived log files, and other requested formats. |
66 |
| -* Searching within a file, multiple files, or within provided time ranges. |
67 |
| -* Infinite scrolling instead of pagination. |
68 |
| -* Log correlation with sync by timestamp across multiple editors. |
69 |
| -* Automatic conversion of text log files to IR stream format in the browser. |
70 |
| -* Deployment of components via NPM. |
| 39 | +See the docs in our [developer guide][docs-site/dev-guide]. |
71 | 40 |
|
| 41 | +[bug-report]: https://github.com/y-scope/yscope-log-viewer/issues/new?labels=bug&template=bug-report.yml |
72 | 42 | [bugs-shield]: https://img.shields.io/github/issues/y-scope/yscope-log-viewer/bug?label=bugs
|
73 |
| -[clp-ffi-js]: https://github.com/y-scope/clp-ffi-js |
74 |
| -[clp-loglib-py]: https://github.com/y-scope/clp-loglib-py |
75 | 43 | [clp-repo]: https://github.com/y-scope/clp
|
76 | 44 | [datasets]: https://docs.yscope.com/clp/main/user-guide/resources-datasets
|
| 45 | +[docs-site]: https://docs.yscope.com/yscope-log-viewer/main/ |
| 46 | +[docs-site/building]: https://docs.yscope.com/yscope-log-viewer/main/dev-guide/building-getting-started |
| 47 | +[docs-site/dev-guide]: https://docs.yscope.com/yscope-log-viewer/main/dev-guide/index |
| 48 | +[docs-site/features-in-development]: https://docs.yscope.com/yscope-log-viewer/main/index#features-in-development |
| 49 | +[docs-site/generating-ir-stream-logs]: https://docs.yscope.com/yscope-log-viewer/main/index#generating-ir-stream-logs |
| 50 | +[feature-req]: https://github.com/y-scope/yscope-log-viewer/issues/new?labels=enhancement&template=feature-request.yml |
77 | 51 | [feature-requests-shield]: https://img.shields.io/github/issues/y-scope/yscope-log-viewer/enhancement?label=feature-requests
|
78 |
| -[hive-24hrs]: https://zenodo.org/record/7094921#.Y5JbH33MKHs |
79 |
| -[log4j1-appenders]: https://github.com/y-scope/log4j1-appenders |
80 |
| -[logback-appenders]: https://github.com/y-scope/logback-appenders |
81 |
| -[monaco-editor]: https://microsoft.github.io/monaco-editor/ |
| 52 | +[hive-24hrs]: https://zenodo.org/records/7094921#.Y5JbH33MKHs |
82 | 53 | [online-demo]: https://y-scope.github.io/yscope-log-viewer/?filePath=https://yscope.s3.us-east-2.amazonaws.com/sample-logs/yarn-ubuntu-resourcemanager-ip-172-31-17-135.log.1.clp.zst
|
83 |
| -[report-bug]: https://github.com/y-scope/yscope-log-viewer/issues/new?labels=bug&template=bug-report.yml |
84 |
| -[request-feature]: https://github.com/y-scope/yscope-log-viewer/issues/new?labels=enhancement&template=feature-request.yml |
85 | 54 | [zulip]: https://yscope-clp.zulipchat.com/
|
86 | 55 | [zulip-shield]: https://img.shields.io/badge/zulip-yscope--clp%20chat-1888FA?logo=zulip
|
0 commit comments