

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 在开始将 Detective 与 Security Lake
<a name="Prerequisites"></a>

本主题介绍初步步骤，例如为您的组织委派 Security Lake 管理员、为您的 Detective 管理员帐户启用 Security Lake 以及验证 Security Lake 是否正在收集日志和事件。

Security Lake 与 AWS Organizations 集成，可管理组织中多个账户的日志收集。要为组织使用 Security Lake，您的 AWS Organizations 管理账户必须先为您的组织指定一名委派的 Security Lake 管理员。然后，委托的 Security Lake 管理员必须启用 Security Lake，并为组织中的成员账户启用日志和事件收集。

在将 Security Lake 与 Detective 集成之前，请确保已为 Detective 管理员帐户启用 Security Lake。您必须首先使用安全湖控制台启用安全湖来配置数据湖设置并设置日志收集。有关如何启用 Security Lake 的详细步骤，请参阅《Amazon Security Lake 用户指南》中的[入门](https://docs.aws.amazon.com//security-lake/latest/userguide/getting-started.html)。

此外，请验证 Security Lake 是否正在从 AWS CloudTrail 管理事件和亚马逊虚拟私有云（Amazon VPC）流日志中收集日志和事件。有关安全湖中日志收集的更多详细信息，请参阅 Amazon Security Lake 用户指南中的[从 AWS 服务收集数据](https://docs.aws.amazon.com//security-lake/latest/userguide/internal-sources.html#cloudtrail-event-logs)。