Comment 11 for bug 2019557

Revision history for this message
Wodel Youchi (wodel) wrote :

Hi,

The patch does not work, fluent-plugin-elasticsearch version 5.3.0 is still being installed and the error still there.

Latest image tested 29 May 2023.

I used this instead :

{# NOTE(frickler): Downgrading elasticsearch gems for compatibility with OSS versions of ES #}
{{ macros.install_fluent_plugins(fluentd_plugins | customizable("plugins")) }} \
    && td-agent-gem install elasticsearch:7.13.0 \
    && td-agent-gem install "fluent-plugin-elasticsearch:5.2.5" \ <---------------------
    && td-agent-gem uninstall "elasticsearch:>7.13.0" \
    && td-agent-gem uninstall "elasticsearch-api:>7.13.0" \
    && td-agent-gem uninstall "elasticsearch-transport:>7.13.0" \
    && td-agent-gem uninstall "elastic-transport:>7.13.0" \
    && td-agent-gem uninstall "fluent-plugin-elasticsearch:>=5.3.0" <----------------------

Regards.