Files
90DaysOfDevOps/Days/Monitoring/Fluentd/introduction/http/app.sh

7 lines
143 B
Bash
Raw Normal View History

2022-03-28 10:32:52 +01:00
#!/bin/sh
while true
do
echo "Sending logs to FluentD"
curl -X POST -d 'json={"foo":"bar"}' http://fluentd:9880/http-myapp.log
sleep 5
done