DSL query with string and numeric regex in Kibana

I am not able to search for the following pattern in Kibana.
total-time: x.abcdef sec

x value can be in range 0 to 99
a b c d e f values can be in 0 to 9.

I tried using query_string:

  "query": {
    "query_string": {
      "query": "total-time\\:\\ /[0-9]{2}\\.[0-9]{6}/",
      "fields": [

@saurabh1991 are you using JSON for the request body?

Can we try the following:

"query": "total-time\: /[0-9]{1,2}\.[0-9]{6}.*/",


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.