Version: SG FLX
Community

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.



Not what you were looking for? Try the search.