Processor compatibility and restrictions
General processor rules
- Maximum count
-
A pipeline can have at most 20 processors.
- Parser placement
-
Parser processors (OCSF, CSV, Grok, etc.) must be the first processor in a pipeline.
- Unique processors
-
The following processors can appear only once per pipeline:
-
add_entries -
copy_values
-
| Processor Type | CloudWatch Logs Source | S3 Source | API-based Sources |
|---|---|---|---|
| OCSF | Compatible with CloudTrail only | Fully compatible | Compatible with specific schemas |
| parse_vpc | Must be first processor | Not applicable | Not applicable |
| parse_route53 | Must be first processor | Not applicable | Not applicable |
| parse_json | Must be first processor | Fully compatible | Fully compatible |
| grok | Must be first processor | Fully compatible | Fully compatible |
| csv | Must be first processor | Not compatible | Not compatible |
| key_value | Must be first processor | Fully compatible | Fully compatible |
| add_entries | Compatible (max 1) | Compatible (max 1) | Compatible (max 1) |
| copy_values | Compatible (max 1) | Compatible (max 1) | Compatible (max 1) |
| String processors (lowercase, uppercase, trim) | Fully compatible | Fully compatible | Fully compatible |
| Field processors (move_keys, rename_keys) | Fully compatible | Fully compatible | Fully compatible |
| Data transformation (date, flatten) | Fully compatible | Fully compatible | Fully compatible |
Compatibility definitions
- Fully compatible
-
Can be used without restrictions with the source type
- Must be first processor
-
When used, must be the first processor in the pipeline configuration
- Compatible with restrictions
-
Can be used but has specific limitations or requirements
- Not compatible
-
Cannot be used with this source type
- Not applicable
-
Processor is not relevant for this source type
Processor-specific restrictions
| Processor | Source Type | Restrictions |
|---|---|---|
| OCSF | CloudWatch Logs with CloudTrail |
|
| OCSF | API-based Sources |
|
| parse_vpc | CloudWatch Logs |
|
| parse_route53 | CloudWatch Logs |
|
| add_entries | All Sources |
|
| copy_values | All Sources |
|
Important
When using processors with restrictions:
-
Always validate your pipeline configuration using the
ValidateTelemetryPipelineConfigurationAPI before deployment -
Test the pipeline with sample data using the
TestTelemetryPipelineAPI to ensure proper processing -
Monitor pipeline metrics after deployment to ensure events are being processed as expected