Tick Script - ID resolution Tag conflict if Window() is set

ID is not able to manage Index. Tags “XYZ” when I add window()

if i add window() under stream, then my ID does not work.
If i remove window(), it work perfectly with Tag.
To my view, adding this parameter should not have any impact to retrieve the tag value.

looking forward for any resolution rather than hard coding value.

var data = stream
|window()
.period(10m)
.every(10m)

var trigger = data
|alert()
.id(’ {{ index .Tags “ABC” }} - {{ index .Tags “DEF” }} {{ index .Tags “GHI” }} - CPU Alert’)

Kapacitor v.1.5.5-1

Using group by = [‘ABC’, ‘DEF’, ‘GHI’]

Then ID will be able to get Index .Tags “ABC” using Window()

1 Like