Analyze Conditions

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.

Conditions are individual assertions that can be made on information gathered from your customer’s on-prem application via a troubleshoot bundle through variables. These assertions can be used to surface insights based on failure or success.

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