Web interface for displaying log messages from logsweet
108
Web interface for displaying log messages from logsweet.
npm i -g logsweet-panel
Start the logsweet Panel server at port 9080 and
connect to a logsweet PUB socket
(e.g. from logsweet watch -b 127.0.0.1:9090 /var/log/myservervice/*.log)
at port 9090.
logsweet-panel -p 9080 -c 127.0.0.1:9090
You can now open the logsweet Panel in your browser
at http://127.0.0.1:9080.
Run a logsweet panel server, which displays the messages from two logsweet PUB sockets:
docker run -d \
-p 9080:80 \
-e LOGSWEET_PANEL_CONNECT="192.168.123.10:9090 my-server-2:9090" \
mastersign/logsweet-panel
Given that your Docker host is my-server-2 you can display the
logsweet Panel now in your Browser at http://my-server-2:9080.
logsweet-panel [OPTIONS]
Options:
--help Show help
--version Show version number
--config Path to JSON config file
--port, -p Port to bind the HTTP server to (default: 80)
--host, -h IP address to bind the HTTP server to (default: 127.0.0.1)
--connect, -c Host/IP and port of logsweet PUB sockets
Content type
Image
Digest
Size
28.4 MB
Last updated
about 7 years ago
docker pull mastersign/logsweet-panel:master