英文:
Issue with metricbeat data visualization in OpenSearch dashboards
问题
Metricbeat通过Logstash将一些数据发送到OpenSearch。在第一次数据传输后,我设置了正确的索引模式以读取传入的数据:
一切看起来都很正常,直到我想为这些数据创建可视化(折线图或表格):
看起来似乎存在一些与数据格式相关的问题(?),但无论如何,我尝试设置了该参数以及数字,但结果都相同。我还需要设置什么才能获得这些数据的正确图表?
- 我更改了索引模式设置,但没有任何变化。
- 我尝试使用另一个类似的属性(system.cpu.system.pct),但结果相同。
英文:
Metricbeat sent some data through logstash into opensearch.
After first hit I set proper Index Pattern to read incoming data:
Everything looks fine until I want to create a vizualization (line chart or table) for this data:
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
GET metricbeat-7.10.0-2023.03.09/_mapping/field/host.cpu.pct
(Note: The code parts are not translated, as requested.)
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论