Salesforce is a customer relationship management solution. The Account sObject is an abstraction of the account record and holds the account field information in memory as an object. This integration allows you to collect sObject data from Salesforce and send it to your account.

Pull the Docker image of the API fetcher
docker pull logzio/logzio-salesforce-collector
Run the Docker container
 docker run --name logzio-salesforce-collector \
 --env CLIENT_ID="<<CLIENT_ID>>" \
 --env USERNAME="<<USERNAME>>" \
 --env PASSWORD="<<PASSWORD>>" \
 --env INTERVAL="<<INTERVAL>>" \

Replace the parameter values as per the table below.

Name Description Required? Default
CLIENT_ID Salesforce App Client ID. Yes -
API_VERSION Salesforce API version No 55.0
USERNAME Salesforce account username (your email) Yes -
PASSWORD Salesforce account password Yes -
SECURITY_TOKEN Salesforce account security token Yes -
SOBJECT_TYPES List of sObject types to collect. Each type must be separated by comma, for example: “TYPE1,TYPE2,TYPE3”. Yes -
FROM_TIMESTAMP Timestamp from when to collect data. Must be in the following format: 2006-01-02T15:04:05.000Z . No Current time minus 1 hour
LOGZIO_TOKEN logs token. Replace <<LOG-SHIPPING-TOKEN>> with the token of the account you want to ship to. Yes -
INTERVAL The time interval to collect Salesforce data (in seconds). No 5 (seconds)
LOGZIO_LISTENER_URL listener logs URL. Use the listener URL specific to the region where your account is hosted. Click to look up your listener URL. The required port depends whether HTTP or HTTPS is used: HTTP = 8070, HTTPS = 8071. No
Check for your logs

Give your logs some time to get from your system to ours, and then open Open Search Dashboards. You can filter for data of the salesforce field type value or type salesforce to see the Salesforce logs.

If you still don’t see your logs, see log shipping troubleshooting.