I have 2 input files . I read a file , then I want to store 2 values from each event as key value pair in global variable something like map in java.
Then I have another file events. As part of this , I want to search if a key is present in global map (which had values from 1st file) and get the value.
how can I achieve it in logstash ?