Skip to main content
Question

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

  • Mar 11, 2025 3:16 AM UTC
  • 3 replies
  • 67 views

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

3 replies

Ben Marcus
  • Employee
  • Mar 11, 2025 4:28 AM UTC

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.


Ben Marcus
  • Employee
  • Mar 11, 2025 4:28 AM UTC

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