Re: Append uniqueid to a http request at varnish
Hi Guillaume, Thanks for this reminder, I will check this and get back to you! *Thanks & Regards,* *Uday Kumar* On Thu, Apr 25, 2024 at 1:12 AM Guillaume Quintard < guillaume.quint...@gmail.com> wrote: > Hi Uday, > > I feel like we've explored this last year: > https://varnish-cache.org/lists/pipermail/varnish-misc/2023-May/027238.html > > I don't think the answer has changed much: vmod-uuid is your best bet here. > > Please let me know if I'm missing some requirements. > > Kind regards, > > -- > Guillaume Quintard > > > On Wed, Apr 24, 2024 at 4:26 AM Uday Kumar > wrote: > >> Hello all, >> >> We follow below architecture in our production environment: >> User request ---> Varnish > Tomcat Backend >> >> We have a requirement of generating an unique id at varnish that can be >> appended to a request url. >> So that it can be propagated to the backend and also will be useful in >> tracking errors efficiently >> >> varnish version used: varnish-5.2.1 >> >> Example: >> original request: >> /search/test?q=bags=mobile >> >> After appending unique id [This needs to be sent to backend and to be >> stored in varnish logs]: >> /search/test?q=bags=mobile=abc123 >> >> Please help us know if there is any way to do this at varnish >> >> *Thanks & Regards,* >> *Uday Kumar* >> ___ >> varnish-misc mailing list >> varnish-misc@varnish-cache.org >> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc >> > ___ varnish-misc mailing list varnish-misc@varnish-cache.org https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
Re: Append uniqueid to a http request at varnish
Hi Uday, I feel like we've explored this last year: https://varnish-cache.org/lists/pipermail/varnish-misc/2023-May/027238.html I don't think the answer has changed much: vmod-uuid is your best bet here. Please let me know if I'm missing some requirements. Kind regards, -- Guillaume Quintard On Wed, Apr 24, 2024 at 4:26 AM Uday Kumar wrote: > Hello all, > > We follow below architecture in our production environment: > User request ---> Varnish > Tomcat Backend > > We have a requirement of generating an unique id at varnish that can be > appended to a request url. > So that it can be propagated to the backend and also will be useful in > tracking errors efficiently > > varnish version used: varnish-5.2.1 > > Example: > original request: > /search/test?q=bags=mobile > > After appending unique id [This needs to be sent to backend and to be > stored in varnish logs]: > /search/test?q=bags=mobile=abc123 > > Please help us know if there is any way to do this at varnish > > *Thanks & Regards,* > *Uday Kumar* > ___ > varnish-misc mailing list > varnish-misc@varnish-cache.org > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc > ___ varnish-misc mailing list varnish-misc@varnish-cache.org https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
Append uniqueid to a http request at varnish
Hello all, We follow below architecture in our production environment: User request ---> Varnish > Tomcat Backend We have a requirement of generating an unique id at varnish that can be appended to a request url. So that it can be propagated to the backend and also will be useful in tracking errors efficiently varnish version used: varnish-5.2.1 Example: original request: /search/test?q=bags=mobile After appending unique id [This needs to be sent to backend and to be stored in varnish logs]: /search/test?q=bags=mobile=abc123 Please help us know if there is any way to do this at varnish *Thanks & Regards,* *Uday Kumar* ___ varnish-misc mailing list varnish-misc@varnish-cache.org https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc