Do transforms support Scripted fields?

I've started playing with transforms - which look very useful.

However, I cannot immediately see that they actually support scripted fields (which I define against a Kibana index). I am trying to sum a couple of them, but values being output simply equal 0 which is not what I expect to see.

Thanks in advance,
Mark

Transform Jobs support the aggregations and metrics specified in the documentation.

I didn't check in the latest version, but I think you will have to replicate the scripted fields you need in the metrics as shown here.

Some addition: scripts in the aggregations part shall be supported if the aggregation itself is supported. Scripting in the group_by part - to customize bucketing - will be supported starting with 7.7, an example can be found in the PR.

1 Like

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