Airtable Source
The Airtable API integration ingests audit logs periodically from the Airtable app platform into the Sumo Logic environment for storing and analyzing data.
Data collected
Polling Interval | Data |
---|---|
24 hours | Audit Logs |
Setup
Vendor configuration
Make sure you have an Airtable admin account and Enterprise billing plan to collect audit logs from the Airtable application.
Airtable's API uses token-based authentication, it allows you to authenticate API requests by inputting your access tokens into the HTTP authorization bearer token header. You need to create a Personal Access token
that will be used to authenticate API requests.
Complete the following steps to create service account credentials:
- Go to the Airtable application and navigate to Create Token.
- Click the Create new token button to create a new personal access token.
- Give your token a unique name. This name will be visible in the record revision history.
- Choose the scope enterprise.auditLogs:read to grant your token. This controls what API endpoints the token will be able to use.
- Click add a base to grant the token access to a base or workspace.
- You can grant access to any number and combination of bases and workspaces associated with your account. Ensure that the token can only read and write data within the bases and workspaces that have been assigned to it.
Source configuration
In this configuration, you will set up an Airtable source account with your Enterprise account and configure it to be authorized and authenticated to use audit logs from Airtable API.
To configure an Airtable Source:
- Classic UI. In the main Sumo Logic menu, select Manage Data > Collection > Collection.
New UI. In the Sumo Logic top menu select Configuration, and then under Data Collection select Collection. You can also click the Go To... menu at the top of the screen and select Collection. - On the Collection page, click Add Source next to a Hosted Collector.
- Search for and select Airtable.
- Enter a Name for the Source. The description is optional.
- (Optional) For Source Category, enter any string to tag the output collected from the Source. Category metadata is stored in a searchable field called
_sourceCategory
. - Forward to SIEM. Check the checkbox to forward your data to Cloud SIEM. note
Select Forward to SIEM only if you have Cloud SIEM installed.
- (Optional) Fields. Click the +Add Field link to define the fields you want to associate. Each field needs a name (key) and value.
- A green circle with a checkmark is shown when the field exists in the Fields table schema.
- An orange triangle with an exclamation point is shown when the field doesn't exist in the Fields table schema. In this case, an option to automatically add the nonexistent fields to the Fields table schema is provided. If a field is sent to Sumo that does not exist in the Fields schema it is ignored, known as dropped.
- In Account ID, enter an account ID that will be a unique identifier for your enterprise account.
- In Personal Access Token, enter the access token that you have generated in the Vendor configuration section.
- When you are finished configuring the Source, click Save.
JSON schema
Sources can be configured using UTF-8 encoded JSON files with the Collector Management API. See how to use JSON to configure Sources for details.
Parameter | Type | Value | Required | Description |
---|---|---|---|---|
schemaRef | JSON Object | {"type":"Airtable"} | Yes | Define the specific schema type. |
sourceType | String | "Universal" | Yes | Type of source. |
config | JSON Object | Configuration object | Yes | Source type specific values. |
Configuration Object
Parameter | Type | Required | Default | Description | Example |
---|---|---|---|---|---|
name | String | Yes | null | Type a desired name of the source. The name must be unique per Collector. This value is assigned to the metadata field _source . | "mySource" |
description | String | No | null | Type a description of the source. | "Testing source" |
category | String | No | null | Type a category of the source. This value is assigned to the metadata field _sourceCategory . See best practices for details. | "mySource/test" |
fields | JSON Object | No | null | JSON map of key-value fields (metadata) to apply to the Collector or Source. Use the boolean field _siemForward to enable forwarding to SIEM. | {"_siemForward": false, "fieldA": "valueA"} |
accountId | String | Yes | null | Account ID is a unique identifier for your Enterprise Account. | |
personalAccessTokens | String | Yes | null | Used to authenticate API requests. |
JSON example
{
"api.version": "v1",
"source": {
"config": {
"name": "airtable",
"accountId": "accountid",
"personalAccessToken": "*********",
"fields": {
"_siemForward": true
}
},
"schemaRef": {
"type": "Airtable"
},
"sourceType": "Universal"
}
}
Terraform example
resource "sumologic_cloud_to_cloud_source" "airtable_source" {
collector_id = sumologic_collector.collector.id
schema_ref = {
type = "Airtable"
}
config = jsonencode({
"name": "airtable",
"accountId": "accountid",
"personalAccessToken": "*********",
"fields": {
"_siemForward": true
}
})
}
resource "sumologic_collector" "collector" {
name = "my-collector"
description = "Just testing this"
}
FAQ
Click here for more information about Cloud-to-Cloud sources.
Limitations
- We are using
Personal Access Token
authentication in the integration, which is currently in public beta version. For more information, refer to the Airtable Notification. - Size of the single audit log will be less than 64 KB.
- Data URLs will expire after 7 days. If URLs are not processed within 7 days, the integration will create a new request which may cause data duplication.