Guyzeroth
Guyzeroth2d ago

Missing event logs/Historic events help?

Hello, I am trying to get access logs from one of our customers using /admin/v1/events/_search e.g
"eventTypes": [
"user.human.externallogin.check.succeeded"
],
"aggregateTypes": [
"user"
],
"resourceOwner": "Foo"
"eventTypes": [
"user.human.externallogin.check.succeeded"
],
"aggregateTypes": [
"user"
],
"resourceOwner": "Foo"
However I can only see events for the most recent days. Is there a way to get hold of historic events?
1 Reply
Ask Inkeep
Ask Inkeep2d ago
Hi @Guyzeroth, I'm an AI assistant for ZITADEL. While a team member reviews this question, I'll see if I can find relevant sources for your question. Answer I wasn't able to find a direct answer about event retention limits in the documentation, here are some relevant sources: 1. Get Events from ZITADEL : Shows how to use filters like creation_date and date ranges to retrieve historical events, including examples for getting user changes since specific dates. 2. Events API changed : Mentions a "max. 9 months retention time" for events, suggesting there may be limits on how far back events are retained. You might want to try using the creation_date or range filters in your request to specify the time period you need (1) . If you're hitting retention limits, please click the "Ask for help" button to tag a team member for clarification on event retention policies. ​ To learn more, see the sources I considered: [1] Get Events from ZITADEL ​ Feel free to tag @Ask Inkeep with additional questions. Got it. Tagging @Rajat for additional help.

Did you find this page helpful?