# Compare

CloudTruth has the ability to compare value between two or more environments. This is useful when needing to view parameter values side-by-side and more specifically visualize those parameter values which differ between environments (overridden). This is also useful in troubleshooting when a particular environment isn't working as expected, seeing the environment value differences can help quickly determine expected vs. unexpected values.

## Comparing environment values

* Open the parameter value comparison view by expanding Reports, via the left-hand navigation menu, and clicking the Compare option.
* Based on the currently selected project shown in the global project selector, the project's parameter list table :

<figure><img src="https://2952342643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGjN2Xg1mE8iTvg49dw%2Fuploads%2Fb8u8HYFskvP3GGqyRKfL%2Fimage.png?alt=media&#x26;token=6cde4954-0d30-49ea-af58-9bdbc2795432" alt=""><figcaption></figcaption></figure>

* From here, we can add/ remove environments to compare via the `ENVIRONMENT VALUES FOR` multi-selector:

<figure><img src="https://2952342643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGjN2Xg1mE8iTvg49dw%2Fuploads%2Fx7w2Bun5QTEWObhN8fuo%2Fimage.png?alt=media&#x26;token=b5d76571-b49c-496a-a562-a0ff9c78bff6" alt=""><figcaption></figcaption></figure>

* Adding or removing environments from the field will change the comparison table results as needed:

<figure><img src="https://2952342643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGjN2Xg1mE8iTvg49dw%2Fuploads%2FlDXMaYJ9rsgFMNPCOLCo%2Fimage.png?alt=media&#x26;token=600b3e29-60c8-45ef-8dfe-1cbd0e1b66bb" alt=""><figcaption></figcaption></figure>

* Several convenience filters have been added  to better visualize and filter down to the precise data:
  * Show Secrets - reveal the value of all secret parameters on displayed
  * Show Differences - filter out all parameters where the values are identical, showing only those parameters where the values are different
  * Show Inherited - when comparing parameters in a child project we can also display those parameters inherited from the parent project

{% hint style="info" %}
This page, while mainly used to compare values between environments, is also similar to the Parameter List table where values can be edited, secrets revealed, and overrides removed.
{% endhint %}
