Installation aborted, plugin 'logstash-input-jdbc' is already provided by 'logstash-integration-jdbc'

I am facing this issue when i try to run command from docker-compose.yml file.

version: '3.7'

services:
Elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.15.1
ports:
- '9200:9200'
environment:
- discovery.type=single-node
ulimits:
memlock:
soft: -1
hard: -1

logstash:
image: docker.elastic.co/logstash/logstash:7.15.1
command: /usr/share/logstash/bin/logstash-plugin install logstash-input-jdbc
ports:
- '5000:5000'
volumes:
- type: bind
source: /opt/data/magiluser/logstash/
target: /usr/share/logstash/pipeline
read_only: true

This is my yml file. Kindly let me know how to fix this.

This plugin is already bundled in Logstash, you do not need to install it, remove this line from your docker compose.

@leandrojmp - Hi, Thanks for replay

@leandrojmp - i am trying to run Elasticsearch and logstash with database synchronication using docker-compose.

Facing this issue:-

logstash_1 | Installing logstash-integration-jdbc
logstash_1 | Bundler attempted to update logstash-mixin-ecs_compatibility_support but its version stayed the same
logstash_1 | Bundler attempted to update logstash-mixin-validator_support but its version stayed the same
logstash_1 | Bundler attempted to update logstash-mixin-event_support but its version stayed the same
logstash_1 | Installation successful
logstash_1 exited with code 0

my docker-compose.yml file is here.

version: '3.7'

services:
Elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.15.1
ports:
- '9200:9200'
environment:
- discovery.type=single-node
ulimits:
memlock:
soft: -1
hard: -1

logstash:
image: docker.elastic.co/logstash/logstash:7.15.1
command: /usr/share/logstash/bin/logstash-plugin install logstash-integration-jdbc
ports:
- '5000:5000'
volumes:
- type: bind
source: /opt/data/magiluser/logstash/
target: /usr/share/logstash/pipeline
read_only: true

Kindly let me know how to fix this.

The logstash-input-jdbc plugin now is provided by the logstash-integration-jdbc plugin, which is bundled with the default instalation of logstash, there is no need to install it, remove this line from your docker compose.

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