How to write to Influx with kapacitor, without query


#1

I would like to write to Influx every minute, so I don’t want to have a query but it doesn’t seem to work.

Is there a work around?

If I use a query and the batch doesn’t get any data in the query, it will not write anything to Influx.


#2

I found a way, but of course it is a bug so it didn’t worked.
But I found that some one already pointed that out.


#3

Hi @flopp,

Can you please provide an example with what you’re trying to accomplish?

If you want to write to Influx every minute, this should be handled by Telegraf or by implementing the write in the programming language of choice.

If you’re attempting to write from one measurement to another, you can use a continuous query.


#4

Thanks for reply.
I need to put in fixed values to the database.

These values I need to change historical.

Let’s say that I put in value 1.3 every minute to a field in a measurement for 7 days(now)
On day 7 I need to change the from 1.3 to 1.8, starting on day 3 until now.

Would this be possible?