[Solved]Create a data generator

i want to create some sort of a data generator for a lab environment.
i though of creating some kind of a script, that will get db name and comma separated metric names, and will get old data from the influx-db, change its time stamp to the current time, and save it back to influx-db.
i;m not sure what would be the best and easiest way to do it,
python script? kapacitor udf ?
any ideas ?


found it !

tick script:

var data = batch
    |query(''' SELECT * FROM "DB"."autogen"."Measurement" ''')

working like a charm

1 Like