chronograf icon indicating copy to clipboard operation
chronograf copied to clipboard

Alert History

Open flcaza opened this issue 9 years ago • 2 comments

Hi

Is any way to delete alert history ? at this moment i have 8410 Alerts (testing purpose) and i want to delete if it is possible.

Thank you ! Florin

flcaza avatar Jan 19 '17 07:01 flcaza

Hey @flcaza, sadly, we don't at the moment, although we have ideas around how we want to do it. As a work around all the alerts are stored in your influx under the database chronograf and measurement alert.... you could remove them from there from now, but, we'll definitely make it a priority to make this far better.

goller avatar Jan 19 '17 16:01 goller

@flcaza the other solution is to set the retention policy on the chronograf database. The alerts are currently put into your kapacitor's influxdb as the measurement chronograf.<default rp>.alerts. With kapacitor 1.2 alert state will be handled internally by kapacitor, so the source of this data will be changing. Therefore we will not be making changes to the current influxdb storage method of alerts.

nhaugo avatar Jan 24 '17 17:01 nhaugo