We are currently using pump to store analytical data in ElasticSearch. We would like to present this data to our users but the only identifier that we can see being passed through which will help us link the data to our users is the "api_key".
As API keys expire, can be revoked etc it would be nice to have an identifier that does not change.
Is there a way to pass any other data though to ElasticSearch such as our own user id to help us link the data to our users?
The only other field that may possibly help us is "oauth_id" but that is currently blank. What does this value map to in Tyk? I'm struggling to find anything about this key in the docs.
Happy to provide more information if needed.