ELK docker映像未很好地支持数组中的对象观察到的错误 [英] Objects in array is not well supported error observed for ELK docker image

查看:434
本文介绍了ELK docker映像未很好地支持数组中的对象观察到的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为kibana仪表板使用了最新的麋鹿图像,并且我有json文件,其中包含array []的列表,但我无法将其显示为kibana中的字段,这表明array中的对象不是受良好支持的错误消息.

I'm using the latest elk image for kibana dashboard and I have json file which is having list of array[] and I'm not able to show those as field in kibana and It's showing that the object in array is not well supported error message.

根据kibana中的文档,我只是通过以下链接,但没有找到对麋鹿码头工人图片有用的东西.

As per the document in kibana I just went through the below link but I didn't find anything useful for elk docker image.

    https://github.com/istresearch/kibana-object-format

我只是尝试运行命令

   Run bin/kibana-plugin install <package.zip>

但是它作为运行返回,是未知命令,删除了运行并运行了剩余的命令,但它表示无效.

but it returned as run is unknown command removed run and ran remaining command but It says that's invalid.

我正在使用linux box和Kibana 7.3版本.

I'm using linux box and Kibana 7.3 version.

是否可以解决此问题?如何为麋鹿图像部署该插件,否则还有其他方法可以使这些数组对象成为kibana中的字段.

Is it possible to overcome this issue? how to deploy that plugin for elk image else is there any other way to make those arrays object as fields in kibana.

我不确定该如何进行.请帮助我.

I'm not sure how can I proceed. Please help me.

样本数据:

{
    "expand": "schema,names",
    "startAt": 0,
    "maxResults": 50,
    "total": 4,
    "issues": [{
            "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
            "id": "1999875",
            "self": "https://amazon.kindle.com/jira/rest/api/2/issue/1999875",
            "key": "KINDLEAMZ-67578",
            "fields": {
                "summary": "contingency is displaying for confirmed card.",
                "priority": {
                    "name": "P1",
                    "id": "1"
                },
                "created": "2019-09-23T11:25:21.000+0000"
            }
        },
        {
            "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
            "id": "2019428",
            "self": "https://amazon.kindle.com/jira/rest/api/2/issue/2019428",
            "key": "KINDLEAMZ-68661",
            "fields": {
                "summary": "card",
                "priority": {
                    "name": "P1",
                    "id": "1"
                },
                "created": "2019-09-23T11:25:21.000+0000"
            }
        },
        {
            "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
            "id": "2010958",
            "self": "https://amazon.kindle.com/jira/rest/api/2/issue/2010958",
            "key": "KINDLEAMZ-68167",
            "fields": {
                "summary": "Test Card",
                "priority": {
                    "name": "P1",
                    "id": "1"
                },
                "created": "2019-09-23T11:25:21.000+0000"
            }
        }
    ]
}

我只想从上面的每个数组中获取KEY,Summary,Priority.但是当我尝试将一个字段显示为在kibana中显示为数组时,它无法按预期工作.如果这不适用于7.3.0,我应该降级到较低版本吗?该文档中的Docker用户缺少这些步骤.有什么方法可以获取这些详细信息吗?

I just want to fetch KEY, Summary, Priority from each of the above array. But its not working as expected when I tried to make a field its showing as array in kibana. If this is not working with 7.3.0 should I downgrade to lower version? the steps are missing for docker user in that document. Is there any way to get those details?

推荐答案

在此处进行检查: https://github.com/istresearch/kibana-object-format/releases ,看来该插件的最新版本适用于Elasticsearch 6.3.我想这就是您出错的原因.

Checking here: https://github.com/istresearch/kibana-object-format/releases it looks like the plugin latest release was for Elasticsearch 6.3. I guess that is the reason for your error.

我不确定kibana中是否有此修复程序.关于这个主题有很多问题,已经开放了很长时间,例如: https://github.com. com/elastic/kibana/issues/3333 .

I'm not sure there's a fix for this in kibana. There are many issues on this subject, open for a long time, like: https://github.com/elastic/kibana/issues/3333.

这篇关于ELK docker映像未很好地支持数组中的对象观察到的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆