Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
There is a community supported Logstash input plugin for Salesforce. It is not installed by default, but you can use the plugin command to add it. The command is slightly different depending on the version of Logstash that you are using:
- cd /opt/logstash
- bin/plugin install logstash-input-salesforce
- cd /opt/logstash
- bin/logstash-plugin install logstash-input-salesforce
To configure the plugin to use the credentials from Salesforce, create a file located at /etc/logstash/conf.d/salesforce.conf like:
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'
}
}
output {
stdout {
codec => rubydebug
}
}
sfdc_object_name can be any of the objects provided by the Salesforce API.
See this blog post by the team at Elastic and the plugin’s documentation for all the configuration information.