版本控制:(C、A、M、D:创建、增加、修订、删除)
| 版本号 | 变更日志 | 变更类型(C/A/M/D) | 修改人 | 摘要 | 备注 |
|---|---|---|---|---|---|
| 1.0 | 2024-12-25 | C | xxx |
一、简介
文档:
二、部署(单点)
在主机 172.21.240.67/data/iniconsole/infini-console 上部署了 infini-console
# 这里指定安装目录为 ~/infini-console
curl -sSL http://get.infini.sh | bash -s -- -p console -d ~/infini-console
#执行启动命令
cd ~/infini-console && ./console-mac-amd64
执行脚本
访问:
三、架构
四、功能测试
-
接管
-
集群概览
-
监控规则
-
告警
-
告警渠道
-
集群管理
-
集群index管理
-
集群别名管理
-
平台概览
-
监控报表
-
集群动态
-
审计日志
-
开发模式
-
数据探索
五、元数据管理
-
元数据的所在的index
元数据index的名字 .infini_metrics-00001
2. ## 元数据index的template
# 原始template,为.infini_metrics-rollover, 保留30天
.infini_metrics-rollover
{
"order" : 100000,
"index_patterns" : [
".infini_metrics*"
],
"settings" : {
"index" : {
"format" : "7",
"lifecycle" : {
"name" : "ilm_.infini_metrics-30days-retention",
"rollover_alias" : ".infini_metrics"
},
"codec" : "best_compression",
"mapping" : {
"coerce" : "false",
"ignore_malformed" : "true"
},
"number_of_shards" : "1",
"translog" : {
"durability" : "async"
}
}
},
"mappings" : {
"dynamic_templates" : [
{
"strings" : {
"mapping" : {
"ignore_above" : 256,
"type" : "keyword"
},
"match_mapping_type" : "string"
}
}
]
},
"aliases" : { }
}
}
修改为保留3天
PUT _template/.infini_metrics-rollover
{
"order" : 100000,
"index_patterns" : [
".infini_metrics*"
],
"settings" : {
"index" : {
"format" : "7",
"lifecycle" : {
"name" : "ilm_.infini_metrics-3days-retention",
"rollover_alias" : ".infini_metrics"
},
"codec" : "best_compression",
"mapping" : {
"coerce" : "false",
"ignore_malformed" : "true"
},
"number_of_shards" : "1",
"translog" : {
"durability" : "async"
}
}
},
"mappings" : {
"dynamic_templates" : [
{
"strings" : {
"mapping" : {
"ignore_above" : 256,
"type" : "keyword"
},
"match_mapping_type" : "string"
}
}
]
},
"aliases" : { }
}
}
- 元数据index的生存周期管理