:question: With Cribl GitOps - how can we avoid script collector running ONLY in production environment?
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.
http://sandbox.cribl.io/course/gitops|sandbox.cribl.io/course/gitops can help if you haven't taken it already.
The "Environment" field under Advanced Settings can be set to the branch(es) the sources/collectors should be running in.