Analyze Variables

Reference Documentation for customizing your end customer's Troubleshoot Analyze experience

This content is associated with a legacy version of the Replicated product. For the current Replicated product documentation, see docs.replicated.com.

The Analyze Spec allows for gathering insights from your troubleshoot bundles about your end-customer installations.

Information gathered in troubleshoot bundle, collected from your customer’s on-prem application, can be stored in variables and later used to make assertions via conditions.

Example

analyze:
  v1:
    - name: os.ubuntu
      labels:
        iconKey: os_ubuntu
      insight:
        primary: OS is Ubuntu
        detail: Operating System is Ubuntu
        severity: info
      registerVariables:
        - name: os
          os: {}
      evaluateConditions:
        - condition:
            stringCompare:
              eq: ubuntu
            variableRef: os
          insightOnFalse:
            primary: OS is not Ubuntu
            detail: Operating System is not Ubuntu
            severity: debug