Logstash S3 plugin cannot assume a across-account role with external_id

I am using logstash S3 plugin which installed on an EC2 to ingest log from S3 in another account B.

It runs well we I configure the role_arn in conf of S3 plugin, but when a external_ID is added to the role, the problem comes, there is no way to configure the external_ID in the plugin. and always got a access denied, I am reading the following doc but nothing helps.
Is there any way I can do with this? It is mandatary for account B to configure this external_ID.