How to regexp a Kibana filter?
<p>I want to filter my Kibana logs. In these there is the field <strong>stacktrace</strong> with lots of stacktraces. I want to don't show some stacktrace types.</p>

<p>For this I add a <strong>Filter out value</strong> filter of stacktrace with following value:</p>

<pre><code>{
  "query": {
    "regexp": {
      "stacktrace": "+ConnectException+"
    }
  }
}
</code></pre>

<p>Its documented right here: <a href="https://www.elastic.co/guide/en/elasticsearch/reference/1.4/query-dsl-regexp-query.html" rel="nofollow noreferrer">https://www.elastic.co/guide/en/elasticsearch/reference/1.4/query-dsl-regexp-query.html</a></p>

<p>This does not work, all <strong>ConnectException</strong>s in this case are found, like:</p>

<pre><code>java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java) ~[na:1.8.0_102]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
</code></pre>