Transformations are the snippets of the logic applied to a single events passing through the link between two ports. Transformations help to transform the structure and format of the data between components. The purpose of transformations is to reduce the complexity of accessing and integrating data that does not perfectly match the standardized inputs and outputs of the components. Use transformations to "glue" the components together. Avoid using transformations to implement application logic, because that will decrease the maintainability and readability of the schema.
How to apply transformation?
To apply data transformation, select the wire between two components and open Settings dialog (press
Spacebar or right-click and select Settings in the context menu). Then select transformation type (in the middle of the dialog window) that suites your needs.
You can chain multiple transformations on the same wire. Each next transformation in the chain will be applied to the output of the previous transformation. Click on a "
+" button to add next transformation in the chain.
Query transformations provide general-purpose query language for
JSON data format. You can extract and transform elements from a JSON document of any arbitrary structure.
JMESPath is a query language for JSON. You can extract and transform elements from a JSON document. Learn more about JMESpath query language.
KelpQL is a query language for JS Object. You can extract and transform elements from a JS document.
JSPath is another query language for JSON that enables you to find data within your JSON documents. Learn more about JSPath query language.
- Signal to data. Convert signal events to data events.
- Skip data. Filter out all or specific data events from the stream.
- Skip signals. Filter out all or specific signals events from the stream.
- KelpQL filter events. Filter data events using KelpQL logical expressions.
- JMESPath filter events. Filter data events using JMESPath logical expressions.
- Log to Console. Log incoming events to the browser console.
- JSON to String. Convert a
JSONobject into a
- Parse JSON. Convert a