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 dynamic template designer
  5. Create a Sparkline Chart in a Tabular Dynamic Template
  6. Client Failure Sparkline Method

Client Failure Sparkline Method

To enable a sparkline to be dropped into a backup job report, a user-defined method for a Job enterprise object needs to be created with the following elements.

See Overview of Method Creation.

  • With Clause

    with spark as (
    select trunc(start_date), client_id, client_name, count(job_id) failed_count
      FROM apt_v_job
     WHERE client_id in(${hosts})
       AND start_date between ${startDate} AND ${endDate}
       AND summary_status = 2
      group by client_id, client_name, trunc(start_date)
    )
    
  • Query

    select client_id, client_name, aptStringConcat(failed_count) failed_count
      from spark s
     group by client_name, client_id
    
  • Join

    apt_job.client_id = ClientFailureSparkline.client_id (+)
  • Fields

    CLIENT_NAME - Check this field so that it can be included in a Dynamic Template.
    FAILED_COUNT - Check this field so that it can be included in a Dynamic Template.
    CLIENT_ID - Do not check this field as it is only needed for the method's code.
    

Feedback

Was this page helpful?
Previous

Example of Using a Method to Create a Sparkline Chart in a Dynamic Template

Next

Configure Chart Axes

Feedback

Was this page helpful?