This is an older version of Search Guard. Switch to Latest version
Transformations and Calculations
In many cases, you will want to run transformations and calculations on the raw data pulled in by inputs.
For example, you may want to calculate an average value over some fields, or clean up data before storing it back to Elasticsearch.
You can use painless scripts to either
- transform your data in any execution context
- calculate values and store them in a new execution context
Both transformations and calculations are implemented as inline or stored painless scripts that operate on the execution runtime data. You can use the full power of painless to massage the data any way you want.