Kibana脚本字段

发布于 2025-02-13 04:54:48 字数 194 浏览 0 评论 0原文

我已将ESL版本更新为7.17.5,然后在脚本字段中面临问题。

doc['num_likes'].value + doc['num_fb_comments'].value + doc['reply_count'].value + doc['retweet_count'].value + 1

有人可以指导我吗?

I have updated my ESL version to 7.17.5 and after that I am facing issue in scripted fields.

doc['num_likes'].value + doc['num_fb_comments'].value + doc['reply_count'].value + doc['retweet_count'].value + 1

Can someone guide me on this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夏末 2025-02-20 04:54:48

在Kibana 7.17.5中,将脚本字段弃用以支持运行时字段。
如果您的问题与运行时字段的使用有关:所有运行时字段都需要在其中具有一个emit()部分,以声明该字段应具有哪个值。

In Kibana 7.17.5 scripted fields are deprecated in favor of runtime fields.
If your issue is related to the use of runtime fields: All runtime fields needs to have an emit() section in it to declare which value the field should have.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文