Skip to main content
Question

With Cribl GitOps - how can we avoid script collector running ONLY in production environment?

  • March 11, 2025
  • 3 replies
  • 12 views

:question: With Cribl GitOps - how can we avoid script collector running ONLY in production environment?

3 replies

  • Employee
  • March 11, 2025

in the script - try and put some logic to detect the environmnt or where its running. exit if it's not running in prod environment.


  • Employee
  • March 11, 2025

The "Environment" field under Advanced Settings can be set to the branch(es) the sources/collectors should be running in.