Q: How can the field values of points matching a query be updated? Is this still not easily doable as of v1.4?
A: From the best of my knowledge, there isn't an easy way to accomplish update
in version 1.4
yet.
Field value
of a point can only be updated by overriding. That is, to overwrite its value you'll need to know the details of your points. These details include its timestamp
and series
information, which is the measurement it reside and its corresponding tags
.
Note: This "update" strategy can only be used for changing the field
value but not tag
value. To update a tag
value you'll need to first DELETE
the point data first and rewrite the entire point data with the updated tag and value.
Q: Anything better than driving it all from the client by updating individual points?
A: Influxdb supports multi-point write. So if you can build a filter to pre-select a small dataset of points, modify their field
values and then override them in bulk.