0

I have an application that monitors activity logs from multiple different and unrelated Azure platforms using Microsoft’s Management Activity API. According to the Common Schema documentation, event IDs are “Unique identifier[s] of an audit record.” but it does not specify a scope. Are they globally unique across all Azure instances, or is it possible I will have an ID collision between two unrelated instances?

Thanks!

Eric
  • 189
  • 2
  • 12

1 Answers1

0

GUIDs can be assumed to be unique, and the chance of collision is highly unlikely. Refer this SO answer that covers this eloquently.

PramodValavala
  • 6,026
  • 1
  • 11
  • 30
  • Thanks for the perspective - a very good point. I already use `INSERT IGNORE` with a unique GUID column when entering new events into the db on account of Microsoft's tendency to resend the same event multiple times, so combined with the size of the GUID space I _should_ never have any issues. Just don't tell my boss : ) – Eric Mar 26 '21 at 10:04