Tick script where on tag


Im trying to filter a stream of incoming data .
I have a tag that i can do a select on him but for some reason when using kapacitor nothing happen
basic select return values
SELECT count(*) FROM "telegraf"."autogen"."DCevents" WHERE "eventtypeID"='1'
when using kapacitor i get nothing on topic

        .where(lambda: "eventtypeID" == 1)

what im i doing wrong…