This is my pipeline output:
"attributes" => "Width:150,200;Height:200;Size:L"
I'd like to have an output:
"attributes" => [
"Width" => [
150,
200
],
"Height" => 200,
"Size" => "L"
]
I tried using the mutate filter
mutate {
split => ["attributes", ";"]
}
Which transforms the data this way
"attributes" => [
[0] "Width:150",
[1] "Height:200"
[2] "Size:L"
]
Is there a way to transform it via logstash filters?