Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I exclude multiple terms in Kibana 4

How can I exclude multiple search terms in Kibana 4? If I type in only one term, it excludes it...but how can I have more than one excluded term. For example, the term "not yet classified"

like image 678
user1142130 Avatar asked Mar 20 '15 19:03

user1142130


People also ask

How do I exclude multiple values in Kibana visualization?

So in the query above the visualization, you can use Lucene syntax to exclude the hits, once saved this will perform the same as an attempt of using regex or Lucene syntax in the Exclude Field of the Buckets advanced options.

What is Kibana query language?

The Kibana Query Language (KQL) is a simple syntax for filtering Elasticsearch data using free text search or field-based search. KQL is only used for filtering data, and has no role in sorting or aggregating the data. KQL is able to suggest field names, values, and operators as you type.


Video Answer


1 Answers

If I understand your question properly, you're trying to use the "Exclude Pattern" to exclude certain values from populating in the chart.

The "Exclude Pattern" and "Include Pattern" fields are for Regular Expressions and are documented here: http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html.

If you want to exclude multiple fields, you could do something like this:

term1|term2|term3 
like image 50
Travis Swientek Avatar answered Oct 07 '22 00:10

Travis Swientek