Hey everyone, I am currently working on building a custom collector in CRIBL. I am about 99% of the way there, so that is exciting! I wanted to check if anyone knew how to get the current mode the collector is running in (e.g., Preview, Discovery, or Full Run). I have a unique use case and the collector needs to act differently in these 3 states. I checked the entire "opts" json object and I didn't see anything referencing the mode. I also checked in "jobs" object and didn't see anything there. Could anyone point me in the right direction? If nothing exists, I may just add a simple Boolean setting in the UI of the collector.
Question
how to get the current mode the collector is running in
Sign up
Already have an account? Login
Login to the community
No account yet? Create an account
Using your Cribl Curious or University Account
User Login Employee loginEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
