Using the following command will do the trick.
# nc -zuv 3 192.168.123.123 5140
Connection to 192.168.123.123 5140 port [udp/*] succeeded!
# nc -zuv 3 192.168.123.123 5140
Connection to 192.168.123.123 5140 port [udp/*] succeeded!
mkdir ~/td-agent-es && cd ~/td-agent-es
docker build -t td-agent-es .
docker run -d -p 9200:9200 -p 9300:9300 --name es elasticsearch
docker run -d -p 24224:24224 --link es:es --name td-agent td-agent-es
docker run --log-driver=fluentd --log-opt fluentd-address=[your-host-IP-address]:24224 hello-world
curl -XGET 'http://[your-host-IP-address]:9200/_all/_search?q=*'
yum install go yum install git
export GOPATH=/home/amd/go
go get github.com/dshearer/jobber
git clone --branch v2 https://github.com/go-yaml/yaml $GOPATH/src/gopkg.in/yaml.v2
make -C src/github.com/dshearer/jobber
yum install daemonize
make install -C src/github.com/dshearer/jobber
service jobber status
--- - name: DailyBackup cmd: backup daily time: 0 0 13 onError: Stop notifyOnError: false notifyOnFailure: true
/usr/local/bin/jobber reload
/usr/local/bin/jobber log