mirror of
https://github.com/MichaelCade/90DaysOfDevOps.git
synced 2025-07-28 05:40:56 +07:00
Day 81
This commit is contained in:
7
Days/Monitoring/Fluentd/introduction/http/app.sh
Executable file
7
Days/Monitoring/Fluentd/introduction/http/app.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/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
|
Reference in New Issue
Block a user