My events are having fields like timestamp, version , sitename , url and score
Whenever the data parsed to logstash , I want to compare the score field of the url fields between different version field.
As i have searched and found i can't make dynamic compare on same fields between different events which is my intial approach.
So i want to keep some static data in csv like url, score fields and once the data approached to logstash will try to find the url from csv file and compare the score field based on the difference of the score value i want to set a new field like Positive , negative, neutral ??
You could do this using a translate filter. Have a csv containing url,score and do a lookup of the url to a new destination, then compare the destination to the score in the message and mutate+add_field appropriately based on the comparison.
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.