Skip to content

miticojo/syslog-massive

Repository files navigation

SYSLOG UDP/TCP TEST

BUILD

With make, golang and docker installed, run:

 make

RUN

SERVER

Docker

default values for are:

  • PROTO=udp
  • PORT=2000

to run it with no values specified:

  docker run -p 2000:2000/udp -ti miticojo/syslog-massive-server:latest

or you can specify port and protocol:

  docker run -p 3000:3000 -ti -e PORT=3000 -e PROTO=tcp miticojo/syslog-massive-server:latest

Server daemon always listen on 0.0.0.0.

Kubernetes

to deploy server pod run:

  kubectl create -f k8s-deployment.yaml

this will create 5 pods (change replicas in the deployment).

to expose them through the loadbalancer:

  kubectl create -f k8s-service.yaml

CLIENT

default values for are:

  • PROTO=udp
  • PORT=2000

to run it with no values specified:

docker run --rm miticojo/syslog-massive-server:latest ./syslog-massive-client 10 udp 192.168.1.10:2000

About

test client & server for syslog flows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published