SLF LOG
Description
The SLF LOG processor is a post-aggregation processor designed to execute Groovy expressions on consolidated data blocks. This processor is particularly useful for performing complex data manipulations or transformations that are not directly supported by the standard consolidation process. It supports all data types, including BLOBs, making it versatile for various data processing needs.
Config Location
To configure the SLF LOG processor, you need to define it within the consDPProcessors
section of your data point configuration within the schema. This involves specifying the processor name and entity.
Supported Data Types
- String
- Json
- Boolean
- BLOB
- Integer
- Double
- Decimal
Config Requirements
Config (
Example Config
Below is an example of how to configure the SLF LOG processor in XML format:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
Example Result
Upon successful configuration and execution, the SLF LOG processor will execute the specified Groovy expression on the consolidated data block, allowing for complex data manipulations or transformations to be applied.
Config Parameters
name | acceptable values | comment |
---|---|---|
a | A string representing the action to be performed by the Groovy expression. | This defines the action to be performed. |
b | An integer value that can be used in the Groovy expression. | This value can be used in the expression for calculations or comparisons. |
c | A boolean value that can be used in the Groovy expression. | This value can be used in the expression for conditional logic. |
Common Mistakes
- Ensure that the processor name and entity are correctly defined in the configuration to ensure that the processor is correctly identified and applied during the data processing pipeline.
- Verify that the configuration parameters within the
<config>
tag are correctly written and match the expected format and values. - Remember that the configuration for the SLF LOG processor is required. If no configuration, or improper configuration is provided then a block violation will be thrown.