Splita data to several docs

Hello,

We have data that partially comes as a list of dicts, and we want to split the data to several docs, so that each dict in the list will be a different doc in Elastic.

Any idea how to do it? we tried with Amazon Lambda, but it didn't work - Lambda has to output the same record id, and we can't generate more record_ids.

Thanks!