aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPATRACHARI <gp2421@att.com>2018-08-09 13:47:24 -0400
committerPATRACHARI <gp2421@att.com>2018-08-09 13:53:31 -0400
commit83db58c6c3b93ecee2352572260f31382bff7629 (patch)
tree84bad2b679a3b9a4d90bd58adb675d21597b4eb2 /etc
parent5deddeb4892243627ad342a41d4dcef0f7280a29 (diff)
Update VES transformation
Issue-ID: DCAEGEN2-600 Change-Id: Ib47e1e6af3116b8db8c38c76d3138654e0ffe60e Signed-off-by: PATRACHARI <gp2421@att.com>
Diffstat (limited to 'etc')
-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"
},