Calculate new fields dynamically in elasticsearch


I am loading data from database into elasticsearch using logstash ,

during loading, does Elastic Search allows us to create Trigger-like functionality with our own rules to create new fields?
can we add new fields dynamically to calculate the sum of 2 fields(x & y) and create a new field(z) to append the value(z = x + y) while loading.

Yes, I think what you are looking for is ingest functionality:

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