欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 文旅 > 艺术 > INFINI Console 纳管 Elasticsearch 9(一):指标监控、数据管理、DSL 语句执行

INFINI Console 纳管 Elasticsearch 9(一):指标监控、数据管理、DSL 语句执行

2025/5/18 19:19:29 来源:https://blog.csdn.net/infinilabs/article/details/147936704  浏览:    关键词:INFINI Console 纳管 Elasticsearch 9(一):指标监控、数据管理、DSL 语句执行

Elasticsearch v9.0 版本最近已发布,而 INFINI Console 作为一款开源的非常轻量级的多集群、跨版本的搜索基础设施统一管控平台,是否支持最新的 Elasticsearch v9.0 集群管理呢?本文以 INFINI Console v1.29.2 为例,从指标监控、数据管理、DSL 语句执行等方面进行测试。

部署注册

使用 Docker 快速部署 ES9。

docker run --name es9 -p 9201:9200 -it -m 1GB docker.elastic.co/elasticsearch/elasticsearch:9.0.0

使用 Docker 部署 Console,请参考文档。

docker run -d --name console -p 9001:9000 infinilabs/console:1.29.2-2008

将 ES9 注册到 Console,默认采集模式为 Agentless。

请求模拟

使用 Loadgen 模拟数据写入和查询。

env:ES_USERNAME: elasticES_PASSWORD: CZ-FHm+M5cbfee_yMPZpES_ENDPOINT: https://192.168.0.101:9201runner:
#  total_rounds: 1no_warm: truevalid_status_codes_during_warmup: [ 200,201,404 ]# Whether to log all requestslog_requests: false# Whether to log all requests with the specified response statuslog_status_codes:- 0- 500assert_invalid: falseassert_error: false# Whether to reset the context, including variables, runtime KV pairs, etc.,# before this test run.reset_context: falsedefault_endpoint: $[[env.ES_ENDPOINT]]default_basic_auth:username: $[[env.ES_USERNAME]]password: $[[env.ES_PASSWORD]]variables:- name: idtype: sequence- name: uuidtype: uuid- name: now_localtype: now_local- name: now_unixtype: now_unix- name: listtype: listdata:- "medcl"- "abc"- "efg"- "xyz"requests:- request: #prepare some docsmethod: POSTurl: /_bulkbody_repeat_times: 5000body: |{"index": {"_index": "infinilabs", "_id": "$[[uuid]]"}}{"id": "$[[id]]", "field1": "$[[list]]", "now_local": "$[[now_local]]", "now_unix": "$[[now_unix]]"}- request:method: GETurl: infinilabs/_searchbody: |{"query":{"term":{"id":"$[[id]]"}}}
./loadgen-mac-amd64 -d 300

平台管理

平台概览

监控报表

  • 指标概览

  • 集群指标

  • 节点指标

  • 索引指标

  • 节点线程指标

  • 节点热力图

  • 索引热力图

  • 查看日志

日志采集需要安装 Agent,关于这块功能后续会进行介绍。

  • 节点实时指标

  • 索引实时指标

数据管理

开发工具

总结

经过测试,INFINI Console 可以支持 Elasticsearch 9 集群纳管,大家可以下载体验使用。

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

热搜词