英文:
Problems with data view and use in kibana dashboard
问题
我是新手在Kibana和Elasticsearch中。我需要使用和可视化我本地Elasticsearch数据库中的数据,在管理 -> 开发工具模块中,我可以看到我的数据,但在仪表板部分,我只能看到时间戳。
我多次更改了映射部分并更改了逻辑,使时间戳位于映射部分的开头。我应该怎么做才能解决这个问题并在“发现”部分看到我的数据?提前感谢您
以下是一些“发现”和我使用的映射的截图:
英文:
I'm new in kibana and elasticsearch. I need to use and visualize the data that i have in my local elasticsearch db, in the management -> dev tools module i can see my data, but in the dashboard part i only see the timestamp.
i change a lot of times the mapping part and change the logic to have the timestamp at the beggining of the mapping part. What can i do to solve this and see my data in the discover part?. Thanks in advance
Here are some screenshots of the discover and the mapping that i'm using:
答案1
得分: 0
在Kibana 7.6中首次发布了对嵌套字段的支持,但包括以下功能:
- 索引模式将正确检测嵌套字段。
- 您将能够在Discover中查看嵌套字段(不是值,而是字段名称)。
- 通过过滤栏对嵌套字段进行过滤有效。
- KQL允许搜索嵌套字段(请查看KQL文档以了解查询嵌套字段的语法说明)。
因此,您目前无法在Discover中查看嵌套字段类型的数据(我使用ESv8.8测试过)。
您可以关注这个GitHub任务以获取未来的信息。
目前,创建带有嵌套字段的可视化的唯一方法是使用Vega。这里有一个示例。
英文:
Support for nested fields in Kibana got a first release in 7.6, but with the following features
- Index Patterns will detect Nested Fields correctly
- You will be able to watch Nested Fields in Discover (not the value but field name)
- Filtering on Nested Fields via the filter bar works
- KQL allows searching for nested fields (see the KQL documentation
for an explanation of the syntax for querying nested fields)
As a result, you can't see the data in the nested field type in Discover right now. (I test it with ESv8.8)
You can follow this GitHub task for future information.
Currently, the only way to create visualization with nested fields is Vega. Here is an example.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论