https://github.com/theprofs/log-plotter
Visualise console.logs or exceptions across distributed apps, logging via Papertrail
https://github.com/theprofs/log-plotter
logging telemetry visualizer
Last synced: 10 months ago
JSON representation
Visualise console.logs or exceptions across distributed apps, logging via Papertrail
- Host: GitHub
- URL: https://github.com/theprofs/log-plotter
- Owner: TheProfs
- License: mit
- Created: 2024-03-29T21:40:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-06T05:49:10.000Z (about 2 years ago)
- Last Synced: 2025-03-12T00:44:04.572Z (over 1 year ago)
- Topics: logging, telemetry, visualizer
- Language: JavaScript
- Homepage:
- Size: 3.71 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Log Plotter
Plots the logs that happen across separate, distributed services logging using [Papertrail][pt]
## Test
```sh
$ npm test
```
## Install
Run:
```bash
$ git clone
$ npm install
```
## Declare log/events in config.yaml
//@Todo
### Run the visualiser
Add a Papertrail API Token in root `.env.local` file:
`.env.local`:
```sh
PAPERTRAIL_TOKEN=xxx # Replace xxx with Papertrail Token
```
then:
```bash
# Download all the logs for today:
$ npm run download-logs
```
```bash
$ npm run start-dev
```
and visit `localhost:3000`.
You should see those events plotted and you can navigate the graph.
## Authors
- [@nicholaswmin](https://github.com/nicholaswmin)
[pt]: https://www.papertrail.com/
[kmeans]: https://en.wikipedia.org/wiki/K-means_clustering