Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Communication

Make sure XPLG instance(s) can reach your Salesforce instance (usually port 443).

Pre-logging-setup - Salesforce

  1. Go to the setup page of your instance as admin.

  2. Navigate

...

  1. to Setup →  Apps → App Manager and click on the button New Connected App

...

  1. .

  2. Fill the Connected App Name

...

  1. box as 'XPLG Integration'

...

  1. and complete the form.

...

  1. Mark the option Enable OAuth Settings and then check also the option Enable for Device Flow

...

Enable the OAuth Settings and grant full accessUncheck 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, edit the App.

...

  1. .

  2. Fill the Callback URL box.

  3. On Selected OAuth Scopes, add the permissions ‘Full access (full)'.

  4. Uncheck both options “Require Secret for Web Server Flow” and “Require Secret for Refresh Token Flow“.

  5. Click Save and the Connected App will be created.

  6. Navigate to Setup →  Apps → Connected Apps → Manage Connected Apps and edit the app.

  7. Select Relax IP restrictions under OAuth Policies > IP Relaxation and click on 'Save'.

  8. Navigate to Setup →  Apps → Connected Apps → App Manager, search for the new connected app and click on ‘View’.

  9. Click on the button Manage Consumer Details to view the Consumer Key and Consumer Secret. These are the details required for OAuth authentication for token retrieval.

  10. Copy the Consumer Key and Consumer Secret to a safe location.

  11. For XPLG integration you'll need - username, password, instance (https://****.salesforce.com), client ID (consumer ID=Consumer Key) and client secret (

...

  1. Consumer Secret).

XPLG - To add Salesforce a Salesforce log

  1. In Add Data pane click on Salesforce.

  2. To change a log source, near Source Type, click on the Change button.

  3. Create a Salesforce account:

    1. In the Username, enter your Salesforce account username.

    2. In the Password, enter your Salesforce account password.

    3. In the Instance name, enter your Salesforce URL (should be of the form ****.salesforce.com)

    4. 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.

    5. Verify and save.

  4. In the Time To Retrieve, select the default past time to retrieve data.

  5. Click DONE – XpoLog applies an automated pattern on the incoming log. Verify that data is displayed and parsed properly.

  6. 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).