First, you may want to use the Mutate Filter Plugin's copy directive, which is a little nicer about copying edge-case values than add_field with string interpolation.
mutate {
copy => {
"F1" => "NEW_FIELD"
}
}
Next, You could likely use the KV Filter Plugin to split out the key/value pairs from the F3 field:
kv {
source => "F3"
field_split => "\n"
value_split => ":"
trim_value => "\r\s" # trim carriage-returns and whitespace from beginning and end of value
}
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.