Gateway Configuration


#1

Hi Experts,

We have two Gateway nodes installed which is being load balanced, and is connected to single Dashboard.

Is there any way or configuration which can be done to identify which request was processed by which Gateway node?
OR
A way to identify the request in Log Browser of Dashboard as in which was processed by which Gateway node

Thanks and Regards


#2

Hi Ajitesh

I think you could do this by tagging the x-forwarded-for header as this should identify which gateway the request was proxied through

https://tyk.io/docs/tyk-rest-api/api-definition-objects/custom-analytics/

Thanks
Josh


#3

Hi @Josh

I have seen the link, for this to work, it is require to add one header field by LB in the request to identify to which Tyk gateway node request is being sent.

But is there any other way in tyk configuration or some piece of code which we can put in tyk to identify the same