i write a s custom beat.And i want to add custom id,routing,version when index document.Because i use join mapping type,and routing must be same with parent routing rather than id
Hi @luzhzhsoft and welcome
elasticsearch output in libbeat doesn't currently support the
You can set the ID of the documents using the
event.SetID(string) method, and you can also add the fields, but there is no way to set the routing.
I was going to suggest you to create a new issue, but I see that you have already created one
Linking it here for reference: https://github.com/elastic/beats/issues/8865
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.