aboutsummaryrefslogtreecommitdiffstats
path: root/etc/eventTransform.json
diff options
context:
space:
mode:
Diffstat (limited to 'etc/eventTransform.json')
-rw-r--r--etc/eventTransform.json54
1 files changed, 54 insertions, 0 deletions
diff --git a/etc/eventTransform.json b/etc/eventTransform.json
index 0437d04d..cdefda07 100644
--- a/etc/eventTransform.json
+++ b/etc/eventTransform.json
@@ -3,6 +3,60 @@
"filter":
{
"event.commonEventHeader.domain":"heartbeat",
+ "VESversion":"v7"
+ },
+
+ "processors":
+ [
+ {
+ "functionName": "addAttribute",
+ "args":{
+ "field": "event.heartbeatFields.heartbeatFieldsVersion",
+ "value": "2.0"
+ }
+ }
+ ]
+ },
+ {
+ "filter":
+ {
+ "event.commonEventHeader.domain":"fault",
+ "VESversion":"v7"
+ },
+ "processors":
+ [
+ {
+ "functionName": "addAttribute",
+ "args":{
+ "field": "event.faultFields.faultFieldsVersion",
+ "value": "3.0",
+ "fieldType": "number"
+ }
+ }
+ ]
+ },
+ {
+ "filter":
+ {
+ "event.commonEventHeader.domain":"thresholdCrossingAlert",
+ "VESversion":"v7"
+ },
+ "processors":
+ [
+ {
+ "functionName": "addAttribute",
+ "args":{
+ "field": "event.thresholdCrossingFields.thresholdCrossingFieldsVersion",
+ "value": "3.0",
+ "fieldType": "number"
+ }
+ }
+ ]
+ },
+ {
+ "filter":
+ {
+ "event.commonEventHeader.domain":"heartbeat",
"VESversion":"v4"
},