my scenario is
I have a property file. in which data is in below format
key = value
abc=123
xyz=456
in logstash when I am processing logs, each log line has a key. Now I need to add a field whose value is from properties file based on key from log.
For Ex.
log has key "abc". while processing logs, logstash should add field value "123". if it is "xyz" then value should be 456
I am using version 5.4.1