How do I exclude multiple terms in Kibana 4

user1142130 picture user1142130 · Mar 20, 2015 · Viewed 56.1k times · Source

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"

Answer

Travis Swientek picture Travis Swientek · Apr 9, 2015

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