Skip to Content
AWS継続的セキュリティ実践ガイド ログの収集/分析による監視体制の構築
book

AWS継続的セキュリティ実践ガイド ログの収集/分析による監視体制の構築

by 日比野 恒
December 2023
Intermediate to advanced
368 pages
11h 21m
Japanese
Shōeisha
Content preview from AWS継続的セキュリティ実践ガイド ログの収集/分析による監視体制の構築
AWS 継続的セキュリティ実践ガイド』:[2023/11/28] (18:53)
2.8 EC2ECS/Fargate のログ
2
2.8 EC2ECS/Fargate のログ
ここまでは AWS ービスのログに関するお話をしてきました。本章の最後は AWS サービス以外のロ
グとして、
EC2 インスタンス環境内と ECS/Fargate のコンテナ環境内のログについて解説します。
2.8.1
EC2
のログとは
AWS のサービスを使って EC2 インスタンス環境内のログを収集する方法は、大きく分けて 2 つありま
す。
1 つ目は CloudWatch エージェントを利用する方法、2 つ目は Kinesis エージェントを利用する方法
です。いずれの方法も
OS 上に出力されるログファイルのイベントを収集します。それぞれの特徴や使い
分けについて紹介します。
まず、
CloudWatch エージェントですが、OS 上で出力される OS やアプリケーションのログを Cloud
Watch Logs
に転送します(Windows マシンのイベントログも転送可能)。2022 2 25
【注 49
アップデート以前は、
file_path パラメーターで指定したログファイルに含まれるすべてのイベントが転
送対象となっていました。しかし、アップデート後のエージェントでは
filters パラメーターで正規表現
を使って転送対象にしたいイベントをフィルタリングできるようになり、さらに使い勝手が良くなってい
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

プラットフォームエンジニアリング ―成功するプラットフォームとチームを作るガイドライン

プラットフォームエンジニアリング ―成功するプラットフォームとチームを作るガイドライン

Camille Fournier, Ian Nowland, 松浦 隼人
生成AI時代の価値のつくりかた ―実践者のマインド、スキル、データ、ユースケース

生成AI時代の価値のつくりかた ―実践者のマインド、スキル、データ、ユースケース

Rob Thomas, Paul Zikopoulos, Kate Soule, 本多 真二郎, オライリー・ジャパン編集部
プロダクトマネージャーのしごと 第2版 ―1日目から使える実践ガイド

プロダクトマネージャーのしごと 第2版 ―1日目から使える実践ガイド

Matt LeMay, 永瀬 美穂, 吉羽 龍太郎, 原田 騎郎, 高橋 一貴

Publisher Resources

ISBN: 9784798185507