Hello,
Suggestion: Add a built-in script function for deleting historian data
Title
Add system.historian.deleteDataPoints() as the counterpart to system.historian.storeDataPoints()
Problem
Ignition allows us to add history through system.historian.storeDataPoints(), but there is no built-in way to delete or prune specific data points. If data is inserted incorrectly (wrong type, test values, corrupted entries), the only current options are manual database edits or full partition pruning, which are risky and not practical.
Proposed Solution
Introduce a built-in function such as:
system.historian.deleteDataPoints(
paths,
startDate=None,
endDate=None,
timestamps=None
)
This would allow safe cleanup of historian data for specific tags and time ranges, with optional dryRun and auditing for transparency.
Why It Matters
Symmetry with storeDataPoints()
Safer than direct SQL or partition pruning
Helps maintain data quality
Useful for automation and maintenance
Thank you for considering this improvement.