Transform script fails to index into destination data stream

I am not at all sure if its relevant, was going to delete the comment, but ... in some other threads there are issues with the .value notation - e.g this

The .value notation only applies to doc values, try just ctx['additional-data'] within the context of an ingest pipeline (compared to the context of a script filter for example or a scripted aggregation)

from