Trying tcp log plugin to capture request and response

Hi team,

Using kong latest verion 2.4 for apigateway management for our organization, for capturing request response, using tcp plugin in routes. Upon following the document for enabling tcp plugin defined port 9999, which is not listening as a service in my kong server, so by following this document, Configuration Reference - v2.4.x | Kong - Open-Source API Management and Microservice Management, created custom service for port 9999 as below,

custom server

server {
listen 9999;
location / {
# …more settings…
return 200;

and have included the path in kong.conf configurtaion.

But, when i verify the log by hitting the request, the request is getting captured, but not response, need your help in fixing the same.

© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ