Allow filtering of log browser by (jwt) principal


#1

Currently the log browser is only able to filter (according to https://tyk.io/tyk-documentation/analyse/log-browser/):

  • API Name
  • Token ID (hashed)
  • Errors Only
  • By Status Code

Quite often you want to find out how and when a principal accessed an API. Now as far as I understand, the token is derived from the principal field (sub claim hashed), at least that is what I understood from what Martin says in this thread: Access token to identity token. It would be nice to have a field in the log browser to enter a clear text principal which would then only have to be hashed with the same algorithm and entered into the token field. That way the changes would be limited to the dashboard and therefore minimal