preview_openpipeline_processor
Test a pipeline processor on sample data to validate its effect before applying to production configuration.
Instructions
Preview the effect of a pipeline processor on sample data without mutating any configuration (safe, read-only). Returns per-record match and transformed record results. Use this to author and validate processors before applying them with update_openpipeline_configuration. Include a 'sampleData' string field (JSON-encoded record) inside the processor definition.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| processor | Yes | Processor definition (type, matcher, fields, etc.). Include a 'sampleData' string field with a JSON-encoded record to test against, per the PreviewProcessorEnvelope spec. Example: { type: 'fieldsRename', sampleData: '{"hostname":"my-host"}', fields: [{ fromName: 'hostname', toName: 'host.name' }] } |