Hi. While I try to get the stream id from spoa I recognized that there is no fetch method for the streamID.
The discussion is here. https://github.com/criteo/haproxy-spoe-go/issues/28 That's the sid in filter spoa log output. SPOE: [agent-on-http-req] <EVENT:on-frontend-http-request> sid=88 st=0 0/0/0/0/0 1/1 0/0 10/33 http://git.haproxy.org/?p=haproxy-2.4.git;a=blob;f=src/flt_spoe.c;h=a68f7b9141025963e8f4ad79c0d1617a4c59774e;hb=HEAD#l2815 ``` 2815 if (ctx->status_code || !(conf->agent_fe.options2 & PR_O2_NOLOGNORM)) 2816 send_log(&conf->agent_fe, (!ctx->status_code ? LOG_NOTICE : LOG_WARNING), 2817 "SPOE: [%s] <EVENT:%s> sid=%u st=%u %ld/%ld/%ld/%ld/%ld %u/%u %u/%u %llu/%llu\n", 2818 agent->id, spoe_event_str[ev], s->uniq_id, ctx->status_code, ^^^^^^^^^^ 2819 ctx->stats.t_request, ctx->stats.t_queue, ctx->stats.t_waiting, 2820 ctx->stats.t_response, ctx->stats.t_process, 2821 agent->counters.idles, agent->counters.applets, 2822 agent->counters.nb_sending, agent->counters.nb_waiting, 2823 agent->counters.nb_errors, agent->counters.nb_processed); ``` It looks to me that the %rt log format have the stream id, right? http://git.haproxy.org/?p=haproxy-2.4.git;a=blob;f=doc/configuration.txt;h=a13a9a77f8a077a6ac798b1dccc8a0f2f3f67396;hb=HEAD#l20576 | | %rt | request_counter (HTTP req or TCP session) | numeric | http://git.haproxy.org/?p=haproxy-2.4.git;a=blob;f=src/log.c;hb=c5c5bc4e36ce4a6f3bc113c8e16824fdb276c220#l3175 3175 case LOG_FMT_COUNTER: // %rt http://git.haproxy.org/?p=haproxy-2.4.git;a=blob;f=src/log.c;hb=c5c5bc4e36ce4a6f3bc113c8e16824fdb276c220#l2202 2202 uniq_id = _HA_ATOMIC_FETCH_ADD(&global.req_count, 1); Regards Alex

