-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Labels
discussIssue needs discussionIssue needs discussion
Description
Transforms allow to define ingest pipelines, so documents are processed before ingestion. This allows for example to remove fields that are not relevant in the transform, or to adjust fields intended to have different values, as in elastic/elastic-package#2218 (comment).
This is partly supported now, a destination index can have a pipeline, but currently it needs to be hard-coded:
dest:
index: "logs-ti_anomali_latest.threatstream-3"
aliases:
- alias: "logs-ti_anomali_latest.threatstream"
move_on_creation: true
pipeline: "1.23.0-latest_ioc"
We should allow to use templates there as we allow in other places, so configuration can be something like this:
dest:
index: "logs-ti_anomali_latest.threatstream-3"
aliases:
- alias: "logs-ti_anomali_latest.threatstream"
move_on_creation: true
pipeline: '{{ IngestPipeline "latest_ioc" }}'
This may not need changes in the spec but will need changes in Fleet.
Metadata
Metadata
Assignees
Labels
discussIssue needs discussionIssue needs discussion