Customizing data with ingestion filters
Customize you API event records as they are received from the gateway.
Create ingestion filters to customize the analytics API event records as they are received from the gateway and before they are sent on to internal storage or offloaded to a third-party system. Filters enable you to add new fields, modify existing fields, or remove fields from the API event record. Filters are applied to all incoming API events, but you can include a conditional check in your filter syntax if you want a filter to apply to specific APIs only.
Ingestion filters use Logstash plug-ins. For more information about Logstash plug-ins, see the Logstash documentation.
- Do not modify the following fields:
- org_id
- catalog_id
- space_id
- developer_org_id
- datetime
- @timestamp
- Do not change the data type of existing fields. Create a new field that has the type you want and copy the contents to this field.
- If you want to sanitize data, it is more efficient to delete fields entirely than delete their contents.
For examples of ingestion filters, see Example ingestion filters.
The steps for configuring ingestion filters depend on your platform: