How can i process the duplication id or custome document_id on filebeat?

in logstash ,i can set document_id=xxx
but in file beat, i can not find the way....

thanks!!!!

You cannot set a document ID in Filebeat. You would need to use either Logstash or setup an Ingest Node pipeline to do it.