WebSocket client for live log tailing, connects to Grayproxy. Supports server side filtering of log messages.
It can be specified either through cli params or via config file. Default config file location is ~/.graytailrc.yml and example of the file is graytailrc.yml.example.
graytail --uri ws://MyToken@127.0.0.1:20221 -f container_name=nginx
Run Grayproxy somewhere
./grayproxy -in udp://:8181 -out ws://MyToken@0.0.0.0:20221
Configure Graylog Output: System > Outputs > GELF Output
protocol: UDP
port: 8181
Configure Stream: Streams > All messages > Manage Outputs > Assign existing Output