Kibana - Regular expressions with non alphanumeric characters don't show results
Issue
Messages collected by the Aggregated Logging looks like the following:
2017-06-27 11:40:16.694 INFO [mscustomer,f185e0b0473e9f1e,6defdef2757011b5,false] 1 --- [o-9001-exec-149] com.example.test.filters.RestServicesLogFilter : CALL SERVICE END =>{"CORRELATION_ID":"0000000-1eaa-48c5-811c-3b091c3c024c","URL":"http://10.1.1.10:8080/services/rest/demo/sampleRequest","DURATION":166,"STATUS_CODE":200}
The intention is to find logs whose duration is greater than 100ms. For that the query used is the following:
message:/\"DURATION\"\:[1-9][0-9]{2,}/
Unfortunately, the given query does not yield any result.
Environment
- Openshift 3.2 and later
- Kibana 4.x
- Elasticsearch 2.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
