Slaesforce Plugin Issue


#1

I am trying to run logstash plugin and receive no error when I run the input config
input {
salesforce {
client_id => 'OAUTH CLIENT ID FROM YOUR SFDC APP'
client_secret => 'OAUTH CLIENT SECRET FROM YOUR SFDC APP'
username => 'email@example.com'
password => 'super-secret'
security_token => 'SECURITY TOKEN FOR THIS USER'
sfdc_object_name => 'Opportunity'

However I get error when I change Object_name from Opportunity to any other object name eg LoginGeo

[2018-11-27T12:13:30,600][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or comma$
[2018-11-27T12:13:30,616][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"6.5.1"}
[2018-11-27T12:13:32,752][ERROR][logstash.plugins.registry] Tried to load a plugin's code, but failed. {:exception=>#<LoadErro$
[2018-11-27T12:13:32,774][ERROR][logstash.agent ] Failed to execute action {:action=>LogStash::PipelineAction::Creat$
[2018-11-27T12:13:33,095][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}

Any idea what may be the issue?


#2

Ran the test_and_exit and the config seems to be OK
apps/logstash-6.5.1/bin/logstash -f salesforce_geoip.conf --config.test_and_exit
Sending Logstash logs to /apps/logstash-6.5.1/logs which is now configured via log4j2.properties
[2018-11-27T13:40:36,487][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
Configuration OK
[2018-11-27T13:40:39,464][INFO ][logstash.runner ] Using config.test_and_exit mode. Config Validation Result: OK. Exiting Logstash