加载中

配置文件结构

elastic-agent.yml 策略文件包含决定 Elastic Agent 运行方式的所有设置。本文档介绍了最重要和常用的设置,包括输入和输出选项、用于变量和条件输出的提供程序、安全设置、日志记录选项、特殊功能的启用以及 Elastic Agent 升级的规范。

elastic-agent.yml 文件是模块化的:您可以结合输入、输出和所有其他设置来启用与 Elastic Agent 一起使用的集成。请参阅创建独立的 Elastic Agent 策略以获取下载用作起始点的设置的步骤,然后参阅以下示例以了解可用设置

以下类别包含用于配置独立 Elastic Agent 的最常用设置。点击每个链接可查看更多详细信息和示例。

输入 (Inputs)
指定 Elastic Agent 如何定位和处理输入数据。
提供程序
指定用于 Elastic Agent 输出中变量替换和条件判断的键值对。
输出
指定 Elastic Agent 将数据发送到何处。
SSL/TLS
配置 SSL,包括 SSL 协议以及证书和密钥的设置。
日志记录
配置 Elastic Agent 的日志输出。
功能标志
配置 Elastic Agent 中的任何实验性功能。这些功能默认禁用。
Agent 下载

指定所需工件的位置以及用于 Elastic Agent 升级的其他设置。

© . This website operates independently and is not affiliated with or endorsed by Elasticsearch B.V. All brand names, logos, and trademarks are the property of their respective owners.