hi,
i'm not really sure the best way to describe what i'm trying to do.. but i will have data bring streamed into logstash. i have a growing keyword list, that is a text file.
is there a way i can compare the values/data coming in to this keyword list. if the data coming in contains values from the keyword list it creates a new boolean field? keyword=true?
Do you have control of the input keyword file? (Can you modify the format?)
If so, you could probably make use of the filter translate.
If each line of the dictionary is a regex like. '.*mykeyword.*', and the value associated is 'true', it could probably work (even if I'm not sure it would be the best in term of performances).
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.