ruby {
code => '
x = event.get("SomeField")
if x
a = []
x.split(";").each { |y|
z = y.split(":")
a << { "key" => z[0], "value" => z[1] }
}
end
event.set("SomeField", a)
'
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.