Skip to main content

Hi,

Is there a way to find out which worker node processed an event, does it inject a field or can we configure it?

Reason is we have some issues and this could narrow it down to a particular worker node.

Cheers,

Jay

Hi,

this (C.os.hostname()) worked for me when I checked that my load balancing was working as intended:

https://docs.cribl.io/stream/expressions-other#coshostname

I simply inserted this into a pipeline with a corresponding eval function and generated the field "cribl_worker_flag" and I could see the moment the other Worker Node got the data and took over. This approach should suit your usecase as well.


Reply