Copy as Markdown[Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fdocs-docusaurus.kinsta.page%2Fdeveloper-portal%2Finfrastructure-as-code%2Fterraform-provider%2Fintegrations%2Fsalesforce-events-collector.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fdocs-docusaurus.kinsta.page%2Fdeveloper-portal%2Finfrastructure-as-code%2Fterraform-provider%2Fintegrations%2Fsalesforce-events-collector.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)

# Salesforce

## Overview[​](#overview "Direct link to Overview")

Salesforce provides detailed logs of system activities, user interactions, and data changes, offering valuable insights into the platform. Read these logs to monitor how your Salesforce environment is being used, optimize it and ensure security and compliance.

For more information about this integration, [click here](https://docs-docusaurus.kinsta.page/integrations/security/salesforce/.md).

## How to use with Terraform[​](#how-to-use-with-terraform "Direct link to How to use with Terraform")

To deploy this integration using Terraform, you can use the [`coralogix_integration`](https://registry.terraform.io/providers/coralogix/coralogix/latest/docs/resources/integration) resource provided by the Coralogix Terraform provider. Below is an example configuration:

```
resource "coralogix_integration" "salesforce-events-collector" {

  integration_key = "salesforce-events-collector"

  version         = "1.0.0"



  parameters = {

    IntegrationName = "<IntegrationName>"

    ApplicationName = "<ApplicationName>"

    SubsystemName   = "Salesforce"

    UseSandbox      = false

  }

}
```

Replace the placeholder values with your actual configuration parameters. Refer to the parameter table below for required fields and their descriptions.

## Revisions[​](#revisions "Direct link to Revisions")

1.0.0

Salesforce API v66.0 support. Renamed 6 logfile event types to match API v66. Added 14 new logfile event types.

| Name            | Type        | Required | Description                                                                                                                                     |
| --------------- | ----------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| ApplicationName | String      | Yes      | The application name that the integration will be used with                                                                                     |
| IntegrationName | String      | Yes      | A unique name for this integration instance                                                                                                     |
| SubsystemName   | String      | Yes      | The subsystem name that the integration will be used with                                                                                       |
| UseSandbox      | Boolean     | Yes      | If this option is selected, the Salesforce Sandbox/Test environment will be used instead of the production environment                          |
| CustomObjects   | String      | No       | To read Salesforce Standard Objects or Custom Objects into Coralogix as logs, specify the object name and the field that contains the timestamp |
| LogfileEvents   | Multiselect | No       | The list of Salesforce Log File Events to collect                                                                                               |
| PlatformEvents  | Multiselect | No       | The list of Salesforce Platform Events to collect                                                                                               |

0.0.4

Added support for Salesforce Sandbox environment.

| Name            | Type        | Required | Description                                                                                                                                     |
| --------------- | ----------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| ApplicationName | String      | Yes      | The application name that the integration will be used with                                                                                     |
| IntegrationName | String      | Yes      | A unique name for this integration instance                                                                                                     |
| SubsystemName   | String      | Yes      | The subsystem name that the integration will be used with                                                                                       |
| UseSandbox      | Boolean     | Yes      | If this option is selected, the Salesforce Sandbox/Test environment will be used instead of the production environment                          |
| CustomObjects   | String      | No       | To read Salesforce Standard Objects or Custom Objects into Coralogix as logs, specify the object name and the field that contains the timestamp |
| LogfileEvents   | Multiselect | No       | The list of Salesforce Log File Events to collect                                                                                               |
| PlatformEvents  | Multiselect | No       | The list of Salesforce Platform Events to collect                                                                                               |

0.0.3

| Name            | Type        | Required | Description                                                                                                                                     |
| --------------- | ----------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| ApplicationName | String      | Yes      | The application name that the integration will be used with                                                                                     |
| IntegrationName | String      | Yes      |                                                                                                                                                 |
| SubsystemName   | String      | Yes      | The subsystem name that the integration will be used with                                                                                       |
| CustomObjects   | String      | No       | To read Salesforce Standard Objects or Custom Objects into Coralogix as logs, specify the object name and the field that contains the timestamp |
| LogfileEvents   | Multiselect | No       | The list of Salesforce Log File Events to collect                                                                                               |
| PlatformEvents  | Multiselect | No       | The list of Salesforce Platform Events to collect                                                                                               |
