在OpenSearch仪表板中,Metricbeat数据可视化存在问题。

huangapple go评论48阅读模式
英文:

Issue with metricbeat data visualization in OpenSearch dashboards

问题

Metricbeat通过Logstash将一些数据发送到OpenSearch。在第一次数据传输后,我设置了正确的索引模式以读取传入的数据:

在OpenSearch仪表板中,Metricbeat数据可视化存在问题。

在OpenSearch仪表板中,Metricbeat数据可视化存在问题。

一切看起来都很正常,直到我想为这些数据创建可视化(折线图或表格):

在OpenSearch仪表板中,Metricbeat数据可视化存在问题。

看起来似乎存在一些与数据格式相关的问题(?),但无论如何,我尝试设置了该参数以及数字,但结果都相同。我还需要设置什么才能获得这些数据的正确图表?

  • 我更改了索引模式设置,但没有任何变化。
  • 我尝试使用另一个类似的属性(system.cpu.system.pct),但结果相同。
英文:

Metricbeat sent some data through logstash into opensearch.
After first hit I set proper Index Pattern to read incoming data:

在OpenSearch仪表板中,Metricbeat数据可视化存在问题。

在OpenSearch仪表板中,Metricbeat数据可视化存在问题。

Everything looks fine until I want to create a vizualization (line chart or table) for this data:
在OpenSearch仪表板中,Metricbeat数据可视化存在问题。

Looks like there is some issue with this data format (?), however I tried to set this parameter as well as number but got the same result. What more I have to set to get proper chart for this data?

  • I changed Index Pattern settings but nothing happend
  • I tried to use another similar property (system.cpu.system.pct) but got the same result

答案1

得分: 1

"Okay, so the problem was automapping of that property.
When I introduced a template before indices were created, the data looks fine.

GET _index_template/metricbeats-template
在OpenSearch仪表板中,Metricbeat数据可视化存在问题。

GET metricbeat-7.10.0-2023.03.09/_mapping/field/host.cpu.pct

在OpenSearch仪表板中,Metricbeat数据可视化存在问题。

在OpenSearch仪表板中,Metricbeat数据可视化存在问题。"

(Note: The code parts are not translated, as requested.)

英文:

Okay, so the problem was automapping of that property.
When I introduced a template before indices were created, the data looks fine.

GET _index_template/metricbeats-template
在OpenSearch仪表板中,Metricbeat数据可视化存在问题。

GET metricbeat-7.10.0-2023.03.09/_mapping/field/host.cpu.pct

在OpenSearch仪表板中,Metricbeat数据可视化存在问题。

在OpenSearch仪表板中,Metricbeat数据可视化存在问题。

huangapple
  • 本文由 发表于 2023年3月3日 20:57:22
  • 转载请务必保留本文链接:https://go.coder-hub.com/75627382.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定