Communication
Make sure XPLG instance(s) can reach your Salesforce instance (usually port 443)
Pre-logging-setup - Salesforce
Go to the setup page of your instance as admin
- Navigate to Setup → Build → Create → Apps → Connected Apps
- Click on New and fill in the Connected App Name, for example 'XPLG Integration'.
Fill the other details on the form.
Enable the OAuth Settings and grant full access. Uncheck the “Require Secret for web server overflow” checkbox and save.
Click Save. The Connected App will be created. Click Continue to view the Consumer Key and Consumer Secret.
- Navigate to Setup → Administer → Manage Apps → Connected Apps.
- Click on the newly created Connected App. Select Relax IP restrictions under OAuth Policies > IP Relaxation. Save.
Navigate to Setup → Administer → Manage Apps → Connected Apps, edit the App.
You will find the consumer key and consumer secret there. These are the details required for OAuth authentication for token retrieval.
- For XPLG integration you'll need - username, password, instance (****.salesforce.com), client ID (consumer ID) and client secret (consumer secret).
XPLG - To add a Salesforce log
- In Add Data pane click on Salesforce.
- To change a log source, near Source Type, click on the Change button.
- Create a Salesforce account:
- In the Username, enter your Salesforce account username.
- In the Password, enter your Salesforce account password.
In the Instance name, enter your Salesforce URL (should be of the form ****.salesforce.com)
- In the Client ID (consumer ID) and Client Secret (consumer secret), enter your OAuth credentials. There are exactly the consumer key and consumer secret (respectively) which appear above.
- Verify and save.
- In the Time To Retrieve, select the default past time to retrieve data.
- Click DONE – XpoLog applies an automated pattern on the incoming log. Verify that data is displayed and parsed properly.
- Click SAVE and follow one of the following:
Save & Close – XpoLog saves the new log and points to the logs tree. locate the log in the logs tree and enter the viewer in order to view the log.
Save & Add Another – XpoLog saves the new log and points to Add Log screen so that you may another log.
Optionally, defining the basic information of the new log (see Setting Log General Information).