ERROR
2023-05-15T14:23:45Z
Failed to connect to database: Connection timed out
High Priority
Source: ecs-task/my-service
Stream: 0123456789abcdef
Event ID: 9876543210
{
"level": "ERROR",
"timestamp": "2023-05-15T14:23:45Z",
"message": "Failed to connect to database: Connection timed out",
"details": {
"database": "production-db",
"connection_string": "postgres://user:pass@db.example.com:5432/db",
"timeout_seconds": 30,
"attempt": 3,
"stack_trace": "..."
}
}
WARN
2023-05-15T14:22:30Z
Disk usage approaching threshold (85%) on instance i-0123456789abcdef0
Medium Priority
Source: ec2-instance/i-0123456789abcdef0
Stream: 9876543210fedcba
Event ID: 1234567890
{
"level": "WARN",
"timestamp": "2023-05-15T14:22:30Z",
"message": "Disk usage approaching threshold (85%)",
"details": {
"instance_id": "i-0123456789abcdef0",
"volume": "/dev/xvda1",
"total_gb": 100,
"used_gb": 85,
"mount_point": "/",
"threshold": 90
}
}