Reference Tables

Reference Tables are a mechanism for placing your own metadata, such as customer details, service ownership, and IP address information, in Datadog as tables that can be looked up by primary key. They are used to add attributes to logs and to join data in analysis.

Overview

What remains in logs are machine-oriented values such as customer IDs and organization IDs, and whose customer it is or who is in charge may exist only in an internal register. A reference table is that register imported into Datadog as a CSV table so that rows can be looked up by primary key. This is the concept to keep in mind when deciding where to import the table from and how to update it, in situations where you look up the register on a separate screen for every investigation, or where you want to add customer names to logs but want to avoid maintaining a mapping table by hand.

A mapping table inside Datadog whose rows can be looked up by primary key

A reference table imports your own information, such as customer details, service names and information, and IP addresses, as a CSV table and combines it with the information in Datadog (as of October 2026; Source: Reference Tables). Each row consists of a primary key and the metadata columns tied to it. The processing that actually writes customer names into logs is the job of the Lookup Processor, and the steps for pulling values from the table are left to Processor. What you decide on the reference table side are three things: where to import the table from, which column to make the primary key, and how to keep it updated.

The effort of updating depends on the import source

Table import sources are divided into manual CSV, cloud storage, integrations, and the API, and which one you choose changes whether there is automatic updating and at what interval (as of October 2026; Source: Reference Tables).

Reference table import sources and updates
Import sourceHow it is created and updatedAutomatic update interval
Manual CSVUpload in the UI and replace with Update ConfigNot supported
Cloud storage (Amazon S3 / Azure Storage / Google Cloud Storage)The table is replaced when the placed CSV changesEvery 5 minutes
Integrations (Databricks / Salesforce / ServiceNow / Snowflake)Import from the integration settingsEvery hour
TerraformWrite the column definitions, primary key, and connection to storage as code with datadog_reference_tableNot stated in the official documentation
APICreate with the Create Reference Table endpointNot stated in the official documentation
Source: The Create a Reference Table section and the Automatic update frequency section of Reference Tables (as of October 2026)

Manual CSV is not updated automatically, so if you keep uploading by hand a table whose register changes every week, a person becomes responsible for updates. If a mechanism that exports the register already exists in cloud storage, making that the import source removes the need for manual uploads. When importing from Amazon S3, Datadog uses the IAM role created for the AWS integration.

An update replaces the table rather than appending a difference

When you update an existing table with a new CSV through Update Config, rows with the same primary key are overwritten, new rows are added, and old rows that are not in the new file are deleted (as of October 2026; Source: Reference Tables). This means that if you upload a CSV containing only the changed rows, even the rows you wanted to keep are deleted. The update is processed asynchronously after saving, and it can take up to 10 minutes to be reflected. A CSV in cloud storage is replaced only when its content changes, and whether the import succeeded is sent as a change event. These events arrive with the reference_tables source, so you can notice import failures with an event monitor in Monitor. A manually uploaded CSV does not emit change events, and a record of the operation remains in Audit Trail.

Table names and column headers are rewritten automatically

Table names and column headers have naming rules, and names that do not follow them are automatically normalized at import (as of October 2026; Source: Reference Tables). Uppercase letters become lowercase, spaces in the middle are replaced with _, and unusable symbols also become _. The first character must be a lowercase English letter, and leading characters such as digits are removed, so a column like 2nd_owner becomes nd_owner. If names collide as a result of lowercasing, a number is appended to the end, and names that are too long are rejected rather than normalized. If the column headers of your register are written in Japanese or in uppercase, aligning them to names made of lowercase English letters and _ before having Datadog read them lets you predict the names after import.

Decide on the primary key before choosing where to use it

The places of use listed in the official documentation are not limited to adding attributes to logs (Lookup Processor) and filtering in Log Explorer. Tables can also be used for joins in Sheets, the DDSQL Editor, and Notebook, and for allocating costs with Tag Pipelines (as of October 2026; Source: Reference Tables). The Lookup Processor looks up whether the value of the source attribute is in the table, so if the form of the log value and the form of the primary key value do not match, the row is not found (Source: Lookup Processor). If you delete a table, the Lookup Processors that use that table stop adding attributes. Before importing, choose one attribute already in your logs whose values are unique and do not change, and test whether lookups work with a small CSV that puts those values as is into the primary key column; this lets you find mistakes in the column design early.

Share