Skip to content

Metadata/Payload based filtering #492

Description

@diveshuttam

Is your feature request related to a problem? Please describe.
I have a usecase where I want payload/metadata based filtering.

{
 "alert" : "machine is down",
 "severity" : "Med",
 "site": "san-francisco"
....
}

These alerts are within same tenant but different developers/applications should be able to subscribe to events for only a particular site and severity.
Supporting this via topics isn't ideal as new sites can get added and currently subscription doesn't support regex

Describe the solution you'd like
A clear and concise description of what you want to happen.

Allowing destinations (I am using for webhook based subscription) to have either payload based or meta data based filter

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Allowing destinations api (for subscription to webhooks) to support regex
example if I have topic like "events.{siteid}.{severity}" I wanna have subscriptions like "events.."
This should accomodate if new topics are added

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions