Filestream registry ttl set to `-1000000000`
Author: belimawrCreated Sep 2, 2026Updated Sep 28, 2026
LabelsTeam:Elastic-Agent-Data-Plane
Filestream can save registries entries with ttl: -1000000000:
{
"k": "filestream::filestream-filestream.filestream-b2ba3e04-b563-491d-b656-bc4737ab2940::fingerprint::bb2b900c6496ba613b53fde04fe3dc705ebe539098c7d74fab9d195714b07543",
"v": {
"cursor": {
"eof": false,
"offset": 267075
},
"meta": {
"fingerprint_len": 0,
"identifier_name": "fingerprint",
"source": "/tmp/flog.log"
},
"ttl": -1000000000,
"updated": [
280444948188057,
1788381042
]
}
}While odd, this does not change the behaviour of disabling the entry clean up because the code checks if ttl <= 0.
This happens because clean_inactive is parsed as a time.Duration by go-ucfg, which treats the YAML -1 (default we use in the Filestream integration) as -1s and when this gets parsed as nanosecond it becomes -1000000000.
At the moment this parsing behaviour does not cause any problem, this issue exists to document this odd behaviour.
Source: elastic/beats