
PankajK.71462 (Customer) asked a question.
I'm using Okta System Log API to get all the events triggered in the Okta system, I am not able get the following events, Could anyone help me how these events happens/get triggered in the Okta?
1. user.authentication.authenticate
2. user.credential.enroll

Hi Pankaj Khairnar,
Thank you for raising this query with us. I have looked at the api/v1/logs endpoint on my own tenant and can verify that the authentication and factor enrolment events are being returned. Some things to note however are the results are ordered in oldest to newest meaning you have to scroll to the end of the response to see the latest entries.
Secondly there can be a little delay in the log events from appearing as such if you are running the API call immediately after the event you may not see the entry returned. In my own tests I had to wait from somewhere between 2-4 minutes.
If however you are not seeing these at all I would recommend raising a support ticket sharing the API call you are using to retrieve the logs and an example of the response body along, this can then be checked agains the system log for your org.
Thanks,
Chris Hancock