Ingest attachment install fail on elasticsearch 6.3.0


(Supperxin) #1

Hi,

I wan't to install ingest attachment plugin in elk docker image but got an error.

Hear is dockerfile:

ARG ELK_VERSION=6.3.0
FROM docker.elastic.co/elasticsearch/elasticsearch-oss:$ELK_VERSION

ARG ELK_VERSION
RUN ./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v$ELK_VERSION/elasticsearch-analysis-ik-$ELK_VERSION.zip
RUN bin/elasticsearch-plugin install ingest-attachment

hear is error message:

ARG ELK_VERSION=6.2.2
FROM docker.elastic.co/elasticsearch/elasticsearch-oss:$ELK_VERSION

ARG ELK_VERSION
RUN ./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v$ELK_VERSION/elasticsearch-analysis-ik-$ELK_VERSION.zip
RUN bin/elasticsearch-plugin install ingest-attachment

hear is an issue related:


(David Pilato) #2

You need to use that: https://www.elastic.co/guide/en/elasticsearch/plugins/current/_other_command_line_parameters.html#_batch_mode


(Supperxin) #3

That's what I need.

Thanks a lot~


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.