{"repo":"sascha-andres/go-logsink","free":true,"listed":false,"github":"https://github.com/sascha-andres/go-logsink","clone":"git clone https://github.com/sascha-andres/go-logsink.git","description":"the multi machine cat over protocol buffers and websocket","language":"Go","stars":36,"topics":["protocol-buffers","golang","logging","cat","distributed-systems","protocol-buffer"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"go-logsink What is go-logsink go-logsink is a client and server application to aggregate multiple streams into one. It does so by sending all data piped into the client to the server. Usage To start a server just type go-logsink listen . By default the server listens on port 50051. You can change the default binding definition using the bind flag: go-logsink listen --bind \":55555\" In this sample, the server would listen on port 55555. To send data to the server you have to start at least one client. For example to send the syslog to the server: sudo tail -f /var/log/syslog go-logsink connect --address \"localhost:55555\" Using the address flag it is possible to send data to the non default destination ( localhost:50051 ) An advanced usage would be to forward all logs from running docker containers: for cont in docker ps -q ; do docker logs -f $cont go-logsink connect & done This assumes a running go-logsink server at localhost:50051 You can even start a webserver using go-logsink web More usage: See go-logsink documentation Develop The application uses a very simple protocol buffer based RPC service to communicate. You should install Protocol Buffers v3.1.0 from https://github.com/google/protobuf/releases/tag/v3.1.0 ( used to create this project initially ). The Makefile contains a protobuf target which creates the implementation from the specification ( located in logsink/logsink.proto ). The project uses go modules Cross compiling Windows current state: untested binary You ha","default_branch":null,"files":null,"tree":[],"storefront":"/r/sascha-andres","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sascha-andres/go-logsink/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}