Implementation of Upstream feature for the Elasticsearch output plugin.
Refer to https://github.com/fluent/fluent-bit/pull/7608 for the changes in Fluent Bit code.