Sensu filter events based on hostname


#1

I am trying to create Sensu filter to filter out all alert/events from clients name say test

{

“filters”: {

“test_server_filter”: {

“negate”: false,

“attributes”: {

“client”: “eval: name =~ /test/i”

}

}

}

}

looks like this is having no affect, any pointer?


#2

Bump for visibility…

···

On Saturday, 3 September 2016 08:05:22 UTC+5:30, Jay Kumar wrote:

I am trying to create Sensu filter to filter out all alert/events from clients name say test

{

“filters”: {

“test_server_filter”: {

“negate”: false,

“attributes”: {

“client”: “eval: name =~ /test/i”

}

}

}

}

looks like this is having no affect, any pointer?