I wonder if it is possible to use filter value in output.
For example, my output is formatted like this :
id => "mongodb_plugin_id"
collection => ""
database => "my_mogodb_database"
uri => "mongodb://username:password@localhost:27017/my_mogodb_database"
codec => "json"
And I would like to set dynamically depending on a pattern extract in the filter.
hope to be clear enough and as I am new in logstash I am a little bit confused.