Closed ntarocco closed 8 months ago
updated_timestamp
invenio-stats
@kpsherva after chatting with @psaiz, we were missing this upgrade command:
my_date = datetime.utcnow().isoformat() painless = f'ctx._source.updated_timestamp="{my_date}";'
updated_timestamp
is available only for new events created after the upgrade ofinvenio-stats
to v4. To keep backwards compat, the field is treated as optional when aggregating events.