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,
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
Best answer by Henri Bülte
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.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.