Use logstash to "read" from index when ingesting new data to calculate a field

(Cristian) #1

Hi All,
Sorry for the bad heading. I have a question. Is it possible to read from an index when ingesting data to calculate a field?

I have some daily data that I ingest into an index. Now I want to use one of the fields to compare (do a calculation) it to previous data (from earlier days) that resides in the index. That means that I need to read from the index when ingesting the data. The output is a calculated field.
Is this possible?



Hi Cristian,

Have a look to this filter: logstash-filter-elasticsearch


(Cristian) #3

Thank you! Testing it.

(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.