Definition
A stale tag is a historian tag (also called a point) whose most recent value is older than its expected update interval, meaning the historian has stopped receiving new data for it. The last stored value remains in place, so the tag can look valid even though it no longer reflects the live process.
Also known as: stale PI tags, stale points, stale historian data.
Why stale historian data matters
Process historians such as the AVEVA PI System store time-series data from thousands to hundreds of thousands of tags. Most consumers of that data, including trend displays, reports, calculations and analytics, read the latest available value. When a tag goes stale, they continue to use a value that may be hours, days or weeks old, often without any visible warning.
Operations: engineers and operators may act on readings that no longer represent current conditions.
Reporting: production, energy, emissions and mass-balance reports can be calculated from frozen inputs.
Analytics and AI: models trained on, or scoring, stale inputs learn or infer from data that does not reflect the process.
Because a stale value is a real value that was once correct, it rarely fails simple range checks. That makes stale tags one of the harder data-quality issues to notice manually, especially at historian scale.
Common causes of stale tags
Stale tags are usually a symptom of a data-collection or configuration problem rather than a problem with the process itself. Common causes include:
Interface or connector stopped
The data-collection interface, connector or adapter has stopped, crashed or lost its connection to the source, so no new values are sent to the historian.
Network or communication failure
Communication between the control system and the collection node, or between the collection node and the historian server, is interrupted. Buffering may hold data until the link is restored; without it, data can be lost.
Source point removed or changed
The tag's address in the DCS, PLC, SCADA or OPC server no longer exists or has changed, for example after a control-system migration or reprogramming.
Tag configuration errors
Scanning is disabled, the tag is assigned to the wrong interface or scan class, or the instrument reference is incorrect, so the tag is never updated.
Decommissioned equipment
Equipment has been removed or bypassed, but its tags remain active in the historian and continue to appear in displays, reports and models.
Timestamp and clock problems
Clock drift, time-zone or daylight-saving errors on source systems or collection nodes can cause data to arrive with incorrect timestamps, making current data appear old.
How to identify stale tags in industrial historians
Identifying stale tags means confirming that a tag has stopped updating, and then understanding why. A practical approach combines the following checks:
1. Compare each tag's last timestamp with its expected update rate
A tag is stale when the age of its latest value exceeds what is normal for that tag. A single global threshold can be misleading: a tag that normally updates every second is already stale after a few minutes, while a manually entered lab value may update once a day. Base the check on the timestamp of the latest value, not on the number of archived values, because compression and exception settings can legitimately reduce how often a steady signal is archived.
2. Check system states and quality flags
Historians often write a status or digital state when collection fails. In the PI System, for example, states such as I/O Timeout, Comm Fail or Scan Off indicate collection problems. A tag can also become stale without any state being written, for example if an interface stops unexpectedly, so status checks should complement, not replace, timestamp checks.
3. Group stale tags by source
Group stale tags by interface, point source, collection node, area or asset. When many tags from the same source become stale at the same time, the cause is usually a collection or communication problem rather than individual instruments.
4. Monitor collection health
Track interface and connector services, heartbeat tags and buffer status, so that collection failures are detected as they happen rather than discovered later in a report or model.
5. Review continuously, not as a one-off audit
Tags are added, migrated and retired continuously. Administration tools, such as the stale and bad points check in PI System Management Tools, support periodic reviews, but continuous monitoring, prioritised by the tags used in operations, reports and models, keeps issues from going unnoticed between audits.
Stale tags versus flatlined signals
Stale tags and flatlined signals can both appear as a horizontal line on a trend, which is why they are often confused. The difference is whether new data is still arriving.
Stale tag
What happens: No new values reach the historian. The timestamp of the latest value keeps getting older.
What you see: The last value persists. Many trend tools draw it forward as a flat line, but the timestamps reveal the gap.
Typical causes: Collection, communication or configuration problems.
How to detect: Compare the age of the latest value with the tag's expected update rate, and check system states.
Flatlined signal
What happens: New values keep arriving with current timestamps, but the value stops changing.
What you see: A flat line made of fresh data points, where normal process variation would be expected.
Typical causes: A stuck or failed sensor, a frozen transmitter output, a saturated measurement range, or a held or substituted value in the source system.
How to detect: Compare variation over a time window with the tag's normal behaviour and with related signals.
In short: a stale tag has stopped receiving data; a flatlined signal is receiving data that has stopped changing. Both make the latest value untrustworthy, but they point to different root causes and different fixes.
Practical industrial example
Illustrative scenario
A plant collects data from its control system into a PI System through an interface running on a collection node. After the node is restarted during maintenance, the interface service does not start again. Every tag served by that interface stops updating.
On a trend display, a cooling-water flow tag that normally updates every few seconds appears as a steady line at its last value. The daily water-balance report continues to run without errors, using the same value for every hour, and an analytics model receives a constant input.
The issue is identified by comparing the timestamp of each tag's latest value with its expected update rate. Grouping the stale tags shows that all of them belong to the same interface, which points directly to the collection problem rather than to the instruments. Once the interface is restarted, any buffered data can be backfilled; periods that were not buffered remain as gaps that should be flagged before the data is used for reporting or modelling.
How APERIO helps identify historian data quality issues
APERIO DataWise is an autonomous data quality system for industrial time-series data. It connects to the historian and monitors every tag, so stale data and other data-quality issues can be found before they reach reports, operators or AI models. Learn more about the DataWise platform.
Historian Analyzer: surfaces dead and stale tags, configuration mismatches and orphaned signals, and provides full-channel statistics to establish a baseline of the historian.
Detection on every tag: detection engines run in parallel for issues including bad values, no data, out-of-range values, flat lines, outliers, abrupt changes and sample-rate problems.
Data Quality Index (DQI): a continuous data-quality score for each tag, asset and site.
Investigation support: a data quality agent explains issues in plain language, surfaces likely root causes and recommends remediation. Read more about agentic data quality.
Related glossary terms
Sensor drift
A gradual deviation of a sensor's readings from the true value over time.
Agentic data quality
Using an agent to investigate, explain and track data-quality issues after detection.
Time-series data remediation
Correcting or filling gaps and errors in time-series data before it is used.
Sensor failure
Instrument faults that produce missing, frozen or incorrect measurements.
Data Quality Index (DQI)
APERIO's continuous score of data health for tags, assets and sites.
Data readiness for industrial AI
Whether operational data is trustworthy enough to train and run AI models.
Frequently asked questions
What is the difference between a stale tag and a flatlined tag?
A stale tag has stopped receiving new data, so its latest value keeps getting older. A flatlined tag is still receiving new values with current timestamps, but the values have stopped changing. Stale tags usually point to data-collection or configuration problems; flatlined signals more often point to instrument or source-system issues.
How long before a PI tag is considered stale?
There is no single standard threshold. A tag should be considered stale when the age of its latest value exceeds its expected update interval. Broad sweeps often use a fixed window, such as several hours or a day, but a tag that normally updates every few seconds may already be stale after a few minutes.
Can stale historian data be recovered?
Sometimes. If the collection interface or connector buffered data while the historian was unreachable, the data can be backfilled once the connection is restored. If the data was never collected or buffered, the gap is permanent and should be flagged, excluded or handled with a documented remediation method before it is used.
Find stale tags before they reach your reports and models
See how APERIO DataWise monitors historian data quality across every tag.
Book a demo