InfluxDB equivalent of computed columns?

I was wondering if influx has a version of a computated column/field. I know the aggregation/transformation functions, but in my application, I need to implement the automatic calculation of a formula which will be populated/calculated as new points are added.

Any thoughts?

Thanks !

Hello @rjvt,
Welcome!
Yes, I believe so!
You’ll want to familiarize yourself with
Flux: https://v2.docs.influxdata.com/v2.0/reference/flux/
Tasks: https://v2.docs.influxdata.com/v2.0/process-data/
to(): https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/built-in/outputs/to/
and also if you’re looking to create custom aggregators maybe
reduce(): https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/reduce/

Thank you!

This looks really good! Thanks for guiding me on the documentation, I am still wrapping my head around it.

Thanks!