Hi,
I am using the kv filter to get values from extra_fields and it works fine, except it shows up as string in the index and not number.
Is there any limitations in using mutate on kv generated values?
One entry of the "extra_fields":
"-" "stage.domain.no" sn="" rt=0.054 ua="10.4.44.4:10553" us="302" ut="0.052" ul="0" cs=-"GET /identity/connect/authorize?response_type=id_token%20token&client_id=client&state=K6EacsCotqv28WKl7729EHP&redirect_uri=https%3A%2F%2Fstage.domain.no%2F&scope=openid%20api1&nonce=K6EacsCotqv2Kl7729EHP HTTP/1.1" 302 0 "https://stage.domain.no/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36" "-" "-" "-" "-" "-" "-"
My config:
kv {
source => extra_fields
}
mutate {
convert => ["rt", "integer"]
}
The rt value is still shown as string in the index. I tried to re-create the index without luck.