Skip to content

Distributed tail -f /var/log/messages docker container. This is companion material to the Linux Journal article

Notifications You must be signed in to change notification settings

ccin2p3/docker-distributed-tail--f-messages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed tail -F /var/log/messages docker container

What's that?

This is companion material to the Linux Journal article. This container will run all the necessary steps to build the hub.

Build

docker build .

Run

docker run -p 55556:5556 -p 55559:5559 -p 5514:514/udp -it

Usage

Subscribe to websocket

wscat

npm install wscat
wscat --connect 'ws://127.0.0.1:55556/index?subscribe=true&query=true'

wsdump.py

pip install websocket-client
wsdump -r 'ws://127.0.0.1:55556/index?subscribe=true&query=true'

Send syslog message to container

logger -d -n 127.0.0.1 -P 5514 -t test test

Demo

demo

About

Distributed tail -f /var/log/messages docker container. This is companion material to the Linux Journal article

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published