So looking at the code of InsertField, it looks like there isn't an obvious
way, unless there's some way to chaining SMTs to achieve it.

Question then is, is it worth adding it to the InsertField SMT? The change
looks reasonably straightforward, and I'm happy to do a PR if it fits with
the aims of the project.

My use case were records keyed on the topic by user id, and I wanted to
persist them into S3 with the user id as part of the one JSON object per
line data.

Thanks,

Liam Clarke-Hutchinson

On Fri, May 8, 2020 at 12:14 PM Liam Clarke-Hutchinson <
liam.cla...@adscale.co.nz> wrote:

> Hi all,
>
> I've been double checking the docs, and before I write a custom transform,
> am I correct that there's no supported way in the InsertField SMT to insert
> the key as a field of the value?
>
> Cheers,
>
> Liam Clarke-Hutchinson
>

Reply via email to