Obtain document ID just after insert

The idea is to send the record to ES using the output filter, this works great, but there is posibility to obtain the document id after to continue with other enrichment pipeline triggered by, for example a kafka output? at the end, the result should be an update based in the document key, and the original document hasn't a good pattern to construct the _id in order to make a query in the second pipeline. (...and I want to follow this tip and this) ... should I generate a uuid with a filter? but it resolves an uuid-4 :frowning:

thanks for the lights.

The idea is to send the record to ES using the output filter, this works great, but there is posibility to obtain the document id after to continue with other enrichment pipeline triggered by, for example a kafka output?

No, that's currently not possible. You'll have to generate the id in a filter.

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