swtich from ELK to Loki!
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 40s
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 40s
This commit is contained in:
12
simple-logs/logs.sh
Executable file
12
simple-logs/logs.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
source "${AGENT_PATH}/common.sh"
|
||||
_check_required_env_vars "CONTAINER_NAME"
|
||||
|
||||
echo "=== Grafana Logs ==="
|
||||
docker logs "${CONTAINER_NAME}_grafana" --tail 20
|
||||
echo ""
|
||||
echo "=== Loki Logs ==="
|
||||
docker logs "${CONTAINER_NAME}_loki" --tail 20
|
||||
echo ""
|
||||
echo "=== Promtail Logs ==="
|
||||
docker logs "${CONTAINER_NAME}_promtail" --tail 20
|
Reference in New Issue
Block a user