How to create an ignore event rule if one of the additionalinfo field is not present

gaurav4sn
Tera Contributor

We have different additional info payload. There are some mandatory payload (eg: namespace). We need to create an ignore rule if particular field "namespace" does not appear

 

 

Additional info payload : 

 

{"assetid":"","routingrp":"","classification":"IT","namespace":"apache/metrics"}

4 REPLIES 4

Rahul Priyadars
Giga Sage
Giga Sage

Hi Gaurav

 

U can write an event matching rule and then Ignore Those events . Keep the ORDER Value is Very Lower Values.

RahulPriyadars_0-1690868410265.png

 

 

Regards

RP

We need to ignore if "namespace" field does not appear in additional info.

ignore rule is says if any specific field does/doesnot have some value.

 

eg: 

 

if below data appear in additional field it should not be ignored and create alert

{"assetid":"","routingrp":"","classification":"IT","namespace":"apache/metrics"}

 

if below data appear in additional field it should be ignored and do not create alert

{"assetid":"","routingrp":"","classification":"IT"}

 

Sandeep104
Tera Contributor

have you found a way to achieve this?

ersureshbe
Giga Sage
Giga Sage

Hi, I hope below screenshot supports you.

 

ersureshbe_0-1723633570616.png

 

 

Regards,
Suresh.