Monthly Archives: November 2017

Variable variables in Painless and Ingest Node

Just a short note: it is possible to create variable (or dynamic) variables in both Painless scripts and the Ingest Node Set Processor. In Painless, you can do achieve this with the following notation: ctx[ctx.key_variable] = value Say you have two arrays that you’d like to ‘merge’ in Painless. So, the values of one of… Read More »