influxdb icon indicating copy to clipboard operation
influxdb copied to clipboard

[0.10.0] Unable to drop corrupted series using WHERE statement.

Open cmdrSpectral opened this issue 10 years ago • 9 comments

I'm trying do flush some wrong data from my measurements. I'm trying to use : DROP SERIES FROM "net" where "bytes_recv"=0 Problem is that: Server returned error: DROP SERIES doesn't support fields in WHERE clause How can I flush some wrong data from my measurement - I don't want to drop my measurement, but only remove some wrong data that got pumped by telegraf. Is it possible ?

cmdrSpectral avatar Feb 08 '16 17:02 cmdrSpectral

@groblus what version are you using?

desa avatar Feb 08 '16 18:02 desa

0.10 But I'm beginning to think that's a design flaw not a bug. Is it posdible that only data based on tags can be deleted?

cmdrSpectral avatar Feb 08 '16 21:02 cmdrSpectral

@groblus ah yeah, to my knowledge you cannot delete points based on fields.

desa avatar Feb 08 '16 21:02 desa

So there is no way of deleting corrupt data, except dropping the whole measurement?

cmdrSpectral avatar Feb 09 '16 06:02 cmdrSpectral

@groblus at the moment we only allow dropping series using tags.

desa avatar Feb 09 '16 18:02 desa

@mjdesa Are there any plans on improving it ? There used to be delete by timeframe option but it was dropped. Without the ability to remove certain records it's impossibile to sanitize corrupt data.

cmdrSpectral avatar Feb 09 '16 20:02 cmdrSpectral

@groblus there are plans to improve this functionality.

desa avatar Feb 10 '16 20:02 desa

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 23 '19 20:07 stale[bot]

This issue has been automatically closed because it has not had recent activity. Please reopen if this issue is still important to you. Thank you for your contributions.

stale[bot] avatar Jul 30 '19 20:07 stale[bot]