How can I access the name of the Cribl Group in a pipeline? I'd like to use that value in a field
C.env is rich AF!
For Worker Group?
Try looking at the __<fields> ---might be one there when you do a capture. But it's a good question...might have to comb the docs for that one. I just don't know.
I couldn't find anything in the __* fields. No luck in the docs either - I guess I may be forced to set a variable
myField = C.env.CRIBL_GROUP_ID :slightly_smiling_face:
Thank You - works like a charm!! Is there a list of all the Cribl-related environment variables available?
no, because they all change depending on env, but can easily test it with setting a field `foo` to `C.env` and you'll see what's available in your system
…then access each one as `C.env.<name>`
Got it - thanks again!!