Custom Metrics Logging


#1

Is it possible to natively log custom fields when it comes to usage in the latest version of Tyk?

I’m looking to log some custom headers that come in the requests.


#2

Hi, have you seen detailed recording?


#3

We aren’t interested in all of the data and actually can’t store some of it. We are more interested in just logging specific parts of the request. I’m guessing then since it’s not all or nothing that we’d have to have custom logging.

Thank you :slight_smile:


#4

You’re welcome.
You could use a Tyk middleware to handle this custom logging task, there’s a Go middleware API (which involves building Tyk yourself), and JS middleware support.