你不会是程序猿吧?

kibanna打开监控报illegal_argument_exception

Kibana | 作者 zpaisfl | 发布于2020年07月23日 | 阅读数:3151

kibana版本7.4
在打开Stack Monitoring菜单时报:[illegal_argument_exception] Fielddata is disabled on text fields by default. Set fielddata=true on [event.dataset] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.: Check the Elasticsearch Monitoring cluster network connection or the load level of the nodes.
哪位大神能帮我解决一下。
已邀请:

hellboy

赞同来自:

应该是对text字段进行了聚合操作,所以报fielddata的错误,因为,对于text字段 fielddata默认是关闭的(false)需要手动打开,错误信息里已经有提示,set fielddata=true 但是一般不这样做,因为fielddata会占用大量内存,而且因为构建很重,ES不会主动释放,所以时间长了,内存消耗很大,一般都是对他的子字段keyword进行聚合操作。效果会好点,而且聚合精度也很精确。

要回复问题请先登录注册