Hi,
I am trying to filter key values from 'message' field
"message": "<188>Oct 2 16:17:39.000 68.85.2.39 alarm[1318]: Alarm set: License color=YELLOW, class=SECOND, reason=Protocol usage requires a license\n"
I wanted to filter to:
color=YELLOW
class=SECOND
reason=Protocol usage requires a license
Below is KV that i used and i could able to filter class and reason but not color. Any suggestions are greatly welcome.
kv {
source => "message"
field_split => ","
value_split => "="
trim_key => " \t"
include_keys => [ "color", "class", "reason" ]
trim_value => ",\t"
}