Azure Active Directory uploads data every 2hrs, then so we pick them up every 3 hours to make sure that we got all the data. But that doesn't the issue.
You may take a look on the sample data we have in Kibana
{
"_index": "eso_token_azure-2018.07",
"_type": "doc",
"_id": "15dtvmQBMHIrkXsoFd90",
"_version": 1,
"_score": null,
"_source": {
"@timestamp": "2018-07-21T19:59:20.531Z",
"tokenSource": "AZURE",
"userId": "d50f34bd-3269-4b43-bb2b-48a689d91d33",
"signinErrorCode": 0,
"signinDateTime": "2018-07-18T08:18:06.4437088Z",
"id": "d7e1e749-f6c1-486c-b9cb-e97d81c32100",
"offset": 290753,
"mfaResult": "MFA requirement satisfied by claim in the token",
"loginStatus": "Success",
"ipAddress": "144.36.138.8",
"dataSource": 1,
"correlationId": "883829e7-0042-481b-add2-6d0efd5676d1",
"mfaRequired": true,
"source": "d:\\logs\\azure\\data\\SignInEvent_accenture.onmicrosoft.com_2018-07-18T06-59-01Z_2018-07-18T09-59-01Z_730.json",
"userDisplayName": "Susada, Lyka",
"appId": "38aa3b87-a06d-4817-b275-7a316988d93b",
"location": {
"city": "Carrollton",
"state": "Texas",
"country": "US"
},
"signinDateTimeInMillis": 1531901886443,
"geoCoordinates": {
"latitude": 32.88254928588867,
"longitude": -96.93798065185547
},
"userPrincipalName": "lyka.susada@accenture.com",
"deviceInformation": ";Windows;;",
"prospector": {
"type": "log"
},
"beat": {
"name": "VW104078",
"hostname": "VW104078",
"version": "6.2.2"
}
},
"fields": {
"@timestamp": [
"2018-07-21T19:59:20.531Z"
],
"signinDateTime": [
"2018-07-18T08:18:06.443Z"
]
},
"highlight": {
"userPrincipalName": [
"@kibana-highlighted-field@lyka.susada@/kibana-highlighted-field@@accenture.com"
]
},
"sort": [
-9223372036854776000
]
}
And take note that we have a daily clean up of source files older than 7 days.
Please focus on the @timestamp and signinDateTime.
My point here is that we don't get the data in near real time maybe because of the filebeat upload.