/logs/enrichment/lookup-tables
This API is used to create a new lookup table for log enrichment purposes in the specified tenant account. Lookup tables allow you to map values (such as codes or short forms) to more descriptive or human-readable terms, enhancing the quality and context of log data.
This method creates a new lookup table with a specified name and key-value mappings.
Limitations:
- The CSV file size must not exceed 2 MB.
- Each CSV file can contain up to 1,000 rows, with each label limited to 256 characters.
- A maximum of 10 lookup tables can be created per tenant.
Path Parameters
- tenantId
Describes the ID of the tenant.
Request Body
application/json
- name
Name of the log enrichment lookup table.
- data
Base64 encoded string containing the lookup table data.
Responses
- tenantId
Unique identifier for the tenant.
- name
Name of the lookup table.
- mspId
Managed service provider (MSP) ID associated with the lookup table.
- orgId
Organization ID to which the lookup table belongs.
- data
Encoded lookup table data in base64 format.
- createdBy
User ID of the creator of the lookup table.
- createdTime
Timestamp indicating when the lookup table was created.
- lookupTableId
Unique identifier for the lookup table.
Allows you to remove multiple lookup tables associated with a specified tenant.
Path Parameters
- tenantId
Describes the ID of the tenant.
Request Body
application/json
- lookupTableIds
An array of unique identifiers for the lookup tables to be deleted.