We are currently adopting Serilog & Seq - amazing products so far, by the way - and the following API key related questions arose (I think they are quite closely related and concise so I'd rather post them together):
Is there any property automatically stored in the event identifying the API key?
Our first approach is to add an applied property to each API key. Specifically, we add an "App" property containing the copy-pasted API key title applied property.
Are event types global or local to each API key?
From the documentation, I understand that the same template logged with different API keys will have the same event type - therefore being "global":
Working with message templates is verbose though, so Seq produces a 32-bit hash of the message template and makes this available in the @EventType built-in property. (Source: official docs)
Can the API key token be specified instead of being automatically generated?
The motivation is avoiding having to update the code / configs after installing a new instance of Seq. More so when we understand that backing up is not supported when upgrading the server version:
The version must be identical to the one used when creating the backup. (Source: official docs)