How to use 2 influx clusters with single Kapacitor?

We have 2 influx clusters: cluster1 and cluster2. Both are having the same database and measurement names.
Once we write the tick script, we want to know for which Influx data alert got generated so that we make the post this respective sink(which is our own container or any other rest end point)

How can we achieve this? While writing tick script there is no way we are seeing to put cluster name apart from the database along with retention policy.

please let us know, what is the possible way to get done this.