Kapacitor reactive Batch Querying

I’m pretty new to using the TICK stack and just about getting there with understanding how TICK Scripts work.

One thing I would like to do without having to create a UDF in kapacitor is to be able to run a batch query based on each data point and its tag values as streamed to Kapacitor Is this possible? This is so I can recalculate values as and when new data is received.

This isn’t possible via a batch query over all data utilising group by as the number of series runs into millions the batch query is incredibly slow and prone to making influxDB go OOM

Hello @Desynchronous,
Welcome!
Since you’re new to TICK stack, may I ask why it is that you’re using the TICK stack? Why not use InfluxDB 2.x? I find working with tasks much easier than working with TICK Scripts.

Can you describe in a little bit more detail what you want to accomplish with your UDF? What do you mean by run a batch query based on each data point and its tag values?

@Emrys_Landivar do you have any thoughts here re TICK Script?