KairosDB Delete old data

245 views
Skip to first unread message

Akash Karmakar

unread,
Mar 21, 2018, 10:51:04 AM3/21/18
to KairosDB
Hello Everyone,
I want to know two things regarding kairosDB listed below:
1> how i can delete old data points. I am using REST API to add and query data points. Is there any way to do this using REST?
Example
I want delete 2 month older data points. How can i do that?

2> Is there any provision to add old data in this DB in a sequence?
Example
I am storing continuous data in DB and suddenly for some issue, few of my data have been failed to store in DB whether i have those data sets. So, now i want to store those data points again in their respective position so that the sequence of the stored data should maintain properly.  

Please let me know if it is possible or not and how.

Thanks,
Akash

Avind

unread,
Mar 21, 2018, 11:25:35 PM3/21/18
to KairosDB
> key is formed by time and metric so sequence will be maintained 

> updates are possible .. (link is a bit old )

> this is kairos API ref .. http://kairosdb.github.io/docs/build/html/restapi/index.html check on the delete options .. 

Brian Hawkins

unread,
Mar 24, 2018, 6:05:18 PM3/24/18
to KairosDB
Delete is the same as a query but send it as a DELETE instead of a POST.  Obviously some of the query parameters don't matter such as the aggregators.

Brian
Reply all
Reply to author
Forward
0 new messages