Hello,
I've got a log that seems a perfect candidate for the kv filter:
msg=Start MID 1242272 ICID 1632662 categorySignificance=/Informational catdt=Web Filtering categoryObject=/Host/Application/Service deviceSeverity=Info rt=1582506453000
and so on ...
but, as you can see, there are values that contain space(s).
The first field, for example, is msg
and should contain Start MID 1242272 ICID 1632662
, but the filter simply stops at the first space, as for the catdt
field, giving:
{
"msg" => "Start",
"rt" => "1582506453000",
"deviceSeverity" => "Info",
"@timestamp" => 2020-04-14T15:49:28.031Z,
"catdt" => "Web",
"categoryObject" => "/Host/Application/Service",
"@version" => "1",
"categorySignificance" => "/Informational",
}
The number of fields may vary.
Is it possible to have the filter to consider as value everything from "=" to the first letter of the next key, where a key is anything matching a "notspace*=" ([^ =]+)=
pattern ?