I am new to the ELK stack.
I have a use case where I need to tag documents based on the dictionary. Where Dictionary key is String and value is list of Strings.
So basically if the document field matches with dictionary key (regex pattern) then I want to add all the values as tags to that document.
Here Doc1 matches with both the Dictionary entries so Doc1 should be tagged with all the values ("abcd1","abcd11","abcd111","abcd2","abcd22","abcd222")
But Doc2 matches with only 1st Dictionary entry
So it should be tagged with only entry 1 values (
"abcd1","abcd11","abcd111")
Is there any way we can add a loop and keep dictionary terms in a config file,
writing if else may not work as dictionary terms may get changed over the period of time. like new terms would get added or some terms may get deleted.
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.