InfluxDB Docs

system.time() function

The system.time() function returns the current system time.

Function type: Date/Time
Output data type: Timestamp

import "system"

system.time()

Examples

import "system"

data
  |> set(key: "processed_at", value: string(v: system.time() ))