Skip to main content
Solved

Find which worker node processed an event

  • March 11, 2025
  • 1 reply
  • 28 views

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.

1 reply

Henri Bülte
  • New Participant
  • Answer
  • March 11, 2025

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.