Athena 활용하여 ALB Access Log 분석하는 방법
* ALB 로그는 파티션된 로그이므로 파티션 사용 테이블 생성 필요 방법 1) 파티션된 테이블 생성 후 'ALTER TABLE ADD PARTITION' 쿼리 1. Athena 콘솔 접속 2. 쿼리 편집기에서 DB 생성 3. 테이블 생성 CREATE EXTERNAL TABLE IF NOT EXISTS alb_logs_partitioned ( type string, time string, elb string, client_ip string, client_port int, target_ip string, target_port int, request_processing_time double, target_processing_time double, response_processing_time double, el..
AWS/ELB
2022. 10. 13. 17:33