Clearing old DCI data and freeing up space?
-
I've done a google search, there are some really old topics but not sure if they apply
Essentially I just want to be able to clear old data. For instance I don't care about DCI data older than 30 days at the moment (current retention is set to 60 days)
Is there a way to delete all DCI data older than 30 days?Same thing for Syslog. Can I delete all old data and/or filter it and delete all data matching certain terms?
I've turned on debugging for a few devices and they have added a lot of syslog entries, can I delete everything matching the term 'debug' for instance? -
For DCI data it is simple - set retention to 30 days, wait for housekeeper run (or run it manually), and set retention back.
Syslog is a bit trickier - if you just need to delete all old records you can do the same retention time change. But if you want to delete older records by certain criteria, you have to do it directly in database.
Best regards,
Victor
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login