<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>INFINI Agent on INFINI Agent | The Best Open Source Easysearch/Elasticsearch/OpenSearch Multi-instance Management Agent</title><link>https://docs.infinilabs.com/agent/v1.30.3/zh/</link><description>Recent content in INFINI Agent on INFINI Agent | The Best Open Source Easysearch/Elasticsearch/OpenSearch Multi-instance Management Agent</description><generator>Hugo -- gohugo.io</generator><atom:link href="https://docs.infinilabs.com/agent/v1.30.3/zh/index.xml" rel="self" type="application/rss+xml"/><item><title>下载安装</title><link>https://docs.infinilabs.com/agent/v1.30.3/zh/docs/getting-started/install/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.infinilabs.com/agent/v1.30.3/zh/docs/getting-started/install/</guid><description>安装 INFINI Agent # INFINI Agent 支持主流的操作系统和平台，程序包很小，没有任何额外的外部依赖，安装起来应该是很快的 ：）
下载安装 # 自动安装
curl -sSL http://get.infini.cloud | bash -s -- -p agent 通过以上脚本可自动下载相应平台的 agent 最新版本并解压到/opt/agent
脚本的可选参数如下：
 -v [版本号]（默认采用最新版本号）
 -d [安装目录]（默认安装到/opt/agent）
手动安装
根据您所在的操作系统和平台选择下面相应的下载地址：
https://release.infinilabs.com/agent/
配置服务后台运行 # 如果希望将 INFINI Agent 以后台服务任务的方式运行，如下：
➜ ./agent -service install Success ➜ ./agent -service start Success 卸载服务也很简单，如下：
➜ ./agent -service stop Success ➜ ./agent -service uninstall Success</description></item><item><title>es_cluster_health</title><link>https://docs.infinilabs.com/agent/v1.30.3/zh/docs/configuration/processors/es_cluster_health/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.infinilabs.com/agent/v1.30.3/zh/docs/configuration/processors/es_cluster_health/</guid><description>es_cluster_health # 描述 # 采集集群健康指标。
配置示例 # pipeline - name: collect_default_es_cluster_health auto_start: true keep_running: true retry_delay_in_ms: 3000 processor: - es_cluster_health: elasticsearch: default 参数说明 # 名称 类型 说明 elasticsearch string 集群实例名称（请参考 elasticsearch 的 name 参数） labels map 自定义标签</description></item><item><title>es_cluster_stats</title><link>https://docs.infinilabs.com/agent/v1.30.3/zh/docs/configuration/processors/es_cluster_stats/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.infinilabs.com/agent/v1.30.3/zh/docs/configuration/processors/es_cluster_stats/</guid><description>es_cluster_stats # 描述 # 采集集群 stats 指标。
配置示例 # pipeline - name: collect_default_es_cluster_stats auto_start: true keep_running: true retry_delay_in_ms: 3000 processor: - es_cluster_stats: elasticsearch: default 参数说明 # 名称 类型 说明 elasticsearch string 集群实例名称（请参考 elasticsearch 的 name 参数） labels map 自定义标签</description></item><item><title>es_index_stats</title><link>https://docs.infinilabs.com/agent/v1.30.3/zh/docs/configuration/processors/es_index_stats/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.infinilabs.com/agent/v1.30.3/zh/docs/configuration/processors/es_index_stats/</guid><description>es_index_stats # 描述 # 采集集群索引 stats 指标。
配置示例 # pipeline - name: collect_default_es_index_stats auto_start: true keep_running: true retry_delay_in_ms: 3000 processor: - es_index_stats: elasticsearch: default 参数说明 # 名称 类型 说明 elasticsearch string 集群实例名称（请参考 elasticsearch 的 name 参数） all_index_stats bool 是否开启所有索引指标的采集，默认 true index_primary_stats bool 是否开启索引主分片指标的采集，默认 true labels map 自定义标签</description></item><item><title>es_logs_processor</title><link>https://docs.infinilabs.com/agent/v1.30.3/zh/docs/configuration/processors/es_logs_processor/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.infinilabs.com/agent/v1.30.3/zh/docs/configuration/processors/es_logs_processor/</guid><description>es_logs_processor # 描述 # 采集集群日志。
配置示例 # pipeline - name: collect_default_es_logs auto_start: true keep_running: true retry_delay_in_ms: 3000 processor: - es_logs_processor: elasticsearch: default logs_path: &amp;#34;/opt/dev-environment/ecloud/logs&amp;#34; queue_name: logs 参数说明 # 名称 类型 说明 queue_name string 日志采集队列名称 elasticsearch string 集群实例名称（请参考 elasticsearch 的 name 参数） logs_path string 集群日志存储路径 labels map 自定义标签</description></item><item><title>es_node_stats</title><link>https://docs.infinilabs.com/agent/v1.30.3/zh/docs/configuration/processors/es_node_stats/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.infinilabs.com/agent/v1.30.3/zh/docs/configuration/processors/es_node_stats/</guid><description>es_node_stats # 描述 # 采集集群节点 stats 指标。
配置示例 # pipeline - name: collect_default_es_node_stats auto_start: true keep_running: true retry_delay_in_ms: 3000 processor: - es_node_stats: elasticsearch: default 参数说明 # 名称 类型 说明 elasticsearch string 集群实例名称（请参考 elasticsearch 的 name 参数） level string 指标级别，可选 cluster，indices，shards，默认 shards。 labels map 自定义标签</description></item><item><title>logs_processor</title><link>https://docs.infinilabs.com/agent/v1.30.3/zh/docs/configuration/processors/logs_processor/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.infinilabs.com/agent/v1.30.3/zh/docs/configuration/processors/logs_processor/</guid><description>logs_processor # 描述 # logs_processor 处理器可采集任意日志。
配置示例 # 以 elasticsearch 日志为例。
pipeline: - name: log_collect auto_start: true keep_running: true retry_delay_in_ms: 3000 processor: - logs_processor: queue_name: &amp;#34;logs&amp;#34; logs_path: &amp;#34;/opt/es/elasticsearch-7.7.1/logs&amp;#34; # metadata for all log items metadata: category: elasticsearch patterns: - pattern: &amp;#34;.*_server.json$&amp;#34; type: json metadata: name: server timestamp_fields: [&amp;#34;timestamp&amp;#34;, &amp;#34;@timestamp&amp;#34;] remove_fields: [ &amp;#34;type&amp;#34;, &amp;#34;cluster.name&amp;#34;, &amp;#34;cluster.uuid&amp;#34;, &amp;#34;node.name&amp;#34;, &amp;#34;node.id&amp;#34;, &amp;#34;timestamp&amp;#34;, &amp;#34;@timestamp&amp;#34;, ] - pattern: &amp;#34;gc.log$&amp;#34; type: text metadata: name: gc timestamp_patterns: - &amp;#34;\\d{4}-\\d{1,2}-\\d{1,2}T\\d{1,2}:\\d{1,2}:\\d{1,2}.</description></item></channel></rss>