This message originated from Cribl Community Slack.
Click here to view the original link.
Hi All. I am creating a pipeline at worker group level (I have 2 worker nodes in the group) , in which I want to amend worker node name in _raw file. I tried using __cribl_worker field but I am getting value as undefined. Can someone help in getting the worker node name to amend to my _raw field
Solved
Pipeline Worker Node Name Undefined When Using __cribl_worker Field
Best answer by Stefan Laschitzki
You get the hostname if the host that is executing that statement. The preview in the Leader UI will be executed by the Leader. Once you deploy this to the worker nodes, you'll get the workers hostname.
You can verify that by teleporting and running the command there
Sign up
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
