https://github.com/andrewkroh/beats-playground
Web UI for testing Elastic Beats processors
https://github.com/andrewkroh/beats-playground
beats eui processors webassembly
Last synced: 7 months ago
JSON representation
Web UI for testing Elastic Beats processors
- Host: GitHub
- URL: https://github.com/andrewkroh/beats-playground
- Owner: andrewkroh
- License: apache-2.0
- Created: 2020-03-16T13:20:45.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-03-13T01:00:19.000Z (7 months ago)
- Last Synced: 2025-03-19T02:11:26.290Z (7 months ago)
- Topics: beats, eui, processors, webassembly
- Language: JavaScript
- Homepage: https://andrewkroh.github.io/beats-playground/
- Size: 275 MB
- Stars: 17
- Watchers: 2
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: docs/README.md
- License: LICENSE
Awesome Lists containing this project
README
# Beats Playground
Demo: https://andrewkroh.github.io/beats-playground/
It's a web UI to play with Elastic Beats processor configurations.

## How it works
I reused the processors code Elastic Beats and compiled it into a WebAssembly
binary that is loaded by the browser. All processing happens in the browser so
none of your sample/test logs ever leave the browser.Because of browser limitations, processors that require OS resources
(filesystem, sockets) are not included (e.g. `dns`, `translate_sid`,
`rate_limit`, `add_docker_metdata`).It will load configurations and sample logs from URLs if you set the appropriate
query parameters in the URL fragment (aka hash). It reads `load_processors`
and `load_logs` then loads the content from those URLs. This can be used to share
examples. The format is:`http://localhost:8084/#?load_processors=PROCESSORS_URL&load_logs=LOGS_URL`
## Self-hosting
Download a release binary and run it yourself. By default the binary listens
for connections at http://localhost:8084/.## Building
Run `make` and it will produce the `beats-playground` self-contained binary.
Building has several requirements like Go and `yarn`.## Releasing
Pushes to master automatically update the demo page host by Github Pages. The
commit ID can be verified by looking at the browser's console.Git tags automatically trigger uploads of binaries to the Github release page.