Welcome to the community
Is there some way to expose it directly there?
Yes, @Page mentions it here. Please note the version. You do need to ensure you specify it on the pump type level e.g.
Config settings
"stdout": {
"type": "stdout",
"raw_request_decoded": true,
"raw_response_decoded": true,
"meta": {
"log_field_name": "tyk-analytics-record",
"format": "text"
}
}
Environment settings
TYK_PMP_PUMPS_STDOUT_DECODERAWREQUEST=true
TYK_PMP_PUMPS_STDOUT_DECODERAWRESPONSE=true
The analytics records are ephemeral in nature, hence the role of pump. You should see it as long as the it hasn’t been purged or disabled by the gateway.