Logs
AWS CloudWatch Logs
Prerequisites:
- AWS account
- AWS IAM role with the following permissions:
cloudwatch:GetLogEvents
- SCCCE CLI
- AWS CLI
- Elasticsearch + Kibana (optional, for visualization)
Steps:
- Install AWS CLI (using
SCCCE install awscli
or manually) - Configure AWS CLI (Run
aws configure
and follow the instructions) - Run
sccce fetch aws -s CloudWatchLogs
to fetch the logs - If Elasticsearch is configured, you will asked if you want to push the logs to Elasticsearch. (Credentials should be provided in the SCCCE configuration file, by defualt
./app.yaml
)