collectRef
type object
Reference to a collect spec
analyze:
v1:
- registerVariables:
- collectRef:
selector:
analyze: docker-info
regexpCapture:
regexp: '"ServerVersion": *"([^"]+)"'
index: 1
Optional Parameters
eval
- Evaluates a templated stringidentity
- The filename
- Selector to reference the meta.name of a collect specregexpCapture
- Evaluates a regular expression on the file. Returns the first matchregexpCaptureAll
- Evaluates a regular expression on the file. Returns all matchesscannable
- Will read the file one line at a time and apply the variable expressionsselector
- Selector to reference the meta.labels of a collect spec