I'm running Influx 1.1.1 (and Telegraf 1.1.1), and have been collecting lots of 
data for a couple of weeks now.

I'd like to delete data from hosts that no longer exist (ie. aren't sending 
anything new), perhaps after (say) a week or so. That is, I'd like to:

1) Identify which hosts haven't sent any data for longer than time X
2) Delete all the data those hosts sent (but obviously nothing else)

I've been playing with Retention Policies, but they seem to act on all data, so 
will happily remove things older than a certain amount, but not stuff younger 
than that which hasn't been updated.

I'm guessing i'm going to be in to direct queries to do this (Influx queries 
are a bit new to me) - that being the case, if a query is going to be 
long/slow/expensive, then can I break it into pieces so it only deletes a chunk 
of data at a time?

Anyone got an approach or some tips how I might achieve this sort of thing?

-- 
Remember to include the version number!
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/70440cec-1320-43b8-bb35-d47c57176b1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to