Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. IT Analytics Help
  3. Section IV. End user
  4. Work with the SQL template designer
  5. Configure SQL Template Scope Selector Components
  6. Example of Custom Text Field Configuration in a SQL Template

Example of Custom Text Field Configuration in a SQL Template

The following steps illustrate the advantage of Custom Text Fields.

  1. In the SQL Template Designer, select the Custom Text Fields component and click Configure.

  2. In the Custom Text Fields window, define a field named Host ID with a data type of Number and click OK.

  3. To use this newly configured Custom Text Field, be sure to select the checkbox.

  4. In the Query window, enter the following SQL query by typing a partial statement and then double-clicking to select fields:

    select * from aps_v_host_volume where host_id > ${freeText1}

    This query can be constructed by combining typing with double-clicking selections in the window, as shown in the following example. For a complete list of database views and columns, you can access the Database View Help.

    See Access Help for Database Views.

    See Help for Database Views.

    • Enter a partial query: select * from aps_v_host_volume where

    • Double-click a field to insert the name into the query.

    • Type an operator: >

    • Double-click the freeText1 variable to insert it into the query.

    The resulting query will be:

    select * from aps_v_host_volume where aps_v_host_volume.host_id > ${freeText1}
  5. Click Validate Query.

  6. In the Formatting window, select all the fields for a table.

  7. Save the report template with a name and a menu group.

  8. Generate the report from this report template and in its Scope Selector window, provide a value for the Host ID field. This value will be passed to the query.

Feedback

Was this page helpful?
Previous

Custom Text Fields

Next

Access Help for Database Views

Feedback

Was this page helpful?