id: version-0.66.0-org.apache.streampipes.processors.transformation.flink.field-mapper title: Field Mapper sidebar_label: Field Mapper original_id: org.apache.streampipes.processors.transformation.flink.field-mapper


Description

Replaces one or more fields with a new field and computes a hash value of these fields


Configuration

  • Fields: Fields that will be mapped into a property
  • Name of the new field

Example

Merge two fields into a hash value

Input event

{
  "timestamp":1586380104915,
  "mass_flow":4.3167,
  "temperature":40.05,
  "sensorId":"flowrate01"
}

Configuration

  • Fields: mass_flow, temperature
  • Name of new field: demo

Output event

{
  "timestamp":1586380104915,
  "sensorId":"flowrate01"
  "demo":"8ae11f5c83610104408d485b73120832",
}