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

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