I try to use this plugin
output {
kafka{
bootstrap_servers => "dal-b-23971:29090,dal-b-23971:29091,dal-b-23971:29092"
topic_id => " **_%{[fields][app_id]}_** "
codec => plain {
format => "%{message}"
}
}
}
i would like to take the string into this variable : %{[fields][app_id]}