2017-10-06 178 views
0

我在Elasticsearch中存储语句。 例子:Kibana。数据表。根据长度排除条款

this is a sentence 
this is a second sentence 

而且我想显示的数据表,在我Kibana 4.3.1最常用的术语,选择:

Metric = count 
Split rows 
Aggregation = terms 
Field = input 
Order by = metric count 
Order descending. Size 5 

这是我收到的表格:

this  2 
is  2 
a  2 
sentence 2 
second 1 

而且我想删除短文,少于3个字符。在这个例子中,“是”和“a”。

这怎么能实现呢?

谢谢!

+0

它工作添加'排除Pattern'像这样'[A-ZA-Z0-9] {0,3}' – nano

回答

0

它工作添加此Exclude Pattern

[a-zA-Z0-9]{0,3}