Error Installing the Plugin

Hi , I am getting error while installing the plugin #bin/logstash-plugin install logstash-input-salesforce
Validating logstash-input-salesforce
Installing logstash-input-salesforce
Plugin version conflict, aborting
ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "faraday":
In snapshot (Gemfile.lock):
faraday (= 0.15.4)

In Gemfile:
logstash-input-elasticsearch java was resolved to 4.6.0, which depends on
faraday (~> 0.15.4) java

logstash-input-salesforce java was resolved to 3.0.5, which depends on
  restforce (~> 2.4.2) java was resolved to 2.4.2, which depends on
    faraday (~> 0.9.0) java

Running bundle update will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

Bundler could not find compatible versions for gem "logstash-core":
In snapshot (Gemfile.lock):
logstash-core (= 7.6.1)

In Gemfile:
logstash-core java

logstash-core-plugin-api java was resolved to 2.1.16, which depends on
  logstash-core (= 7.6.1) java

logstash-input-syslog java was resolved to 3.4.1, which depends on
  logstash-filter-grok java was resolved to 4.3.0, which depends on
    logstash-core (>= 5.6.0) java

logstash-input-salesforce java was resolved to 0.1.1, which depends on
  logstash-core (>= 1.4.0, < 2.0.0) java

logstash-integration-jdbc java was resolved to 5.0.1, which depends on
  logstash-core (>= 6.5.0) java

Running bundle update will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

Bundler could not find compatible versions for gem "logstash-core-plugin-api":
In snapshot (Gemfile.lock):
logstash-core-plugin-api (= 2.1.16)

In Gemfile:
logstash-devutils (~> 1) java was resolved to 1.3.6, which depends on
logstash-core-plugin-api (>= 2.0, <= 2.99) java

logstash-input-salesforce java was resolved to 2.0.4, which depends on
  logstash-core-plugin-api (~> 1.0) java

Running bundle update will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

Please help

Thanks,
Hlogan

There is an open issue for this. I don't think anyone has worked on this input in a long time. The dependencies need to be fixed, but I wouldn't hold your breath waiting for that to happen.

Thanks for the updates Badger, can see this input plugin available for longtime, any other doc to refer, suggestion?

Sorry, there is not much more I can say. There appear to have been updates to the salesforce input a couple of years ago to support logstash 5.x , yet we see

logstash-input-salesforce java was resolved to 0.1.1, which depends on
  logstash-core (>= 1.4.0, < 2.0.0) java

which I think means the input you have cannot support logstash 2.0 or above, and obviously that means it cannot support 7.6.1.

It looks like you are installing 3.0.5, which is the most recent version, so I have no ideas on why the input was updated to support 5.x yet the dependencies still restrict it to 1.x. I have to wonder if the problem is actually in something the input depends on. And I do not know how to get super verbose logging of the dependency chain that might allow you to find where the issue is.

For example, one of the questions that needs answering is "Why did logstash-input-salesforce java resolve to 0.1.1?"

No Problem, Thank you so much for your updates,
Will try to install logstash 5.x version to see if that works, not sure if kibana and elastic search in higher version 7.x and logstash alone in 5.x will work, let me try this and see

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