saurabh1991
(saurabh kumar)
November 24, 2020, 2:52pm
#1
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": [
"message"
]
}
}
}
tiagocosta
(Tiago Costa)
November 24, 2020, 5:05pm
#2
@saurabh1991 are you using JSON for the request body?
Can we try the following:
"query": "total-time\: /[0-9]{1,2}\.[0-9]{6}.*/",
Cheers
system
(system)
closed
December 22, 2020, 5:05pm
#3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.