collectRef

Reference to a collect spec

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 string

  • identity - The file

  • name - Selector to reference the meta.name of a collect spec

  • regexpCapture - Evaluates a regular expression on the file. Returns the first match

  • regexpCaptureAll - Evaluates a regular expression on the file. Returns all matches

  • scannable - Will read the file one line at a time and apply the variable expressions

  • selector - Selector to reference the meta.labels of a collect spec