{% extends 'timeseer.html' %} {% from 'macros.html' import alerter, bootstrap_icon, menu_back %} {% from 'resources.html' import resource_breadcrumb, resource_menu with context %} {% block menu %} {{ resource_menu('KPI sets') }} {% endblock %} {% block styles %} {% endblock %} {% block breadcrumb %} {{ resource_breadcrumb([ ("KPI sets", url_for('kpi_sets.show_kpi_sets', sourcename=source_name)), kpi_set.name, ]) }} {% endblock %} {% block main %}

KPIs in KPI set

{{ kpi_set.name }}

{% if kpi_set.origin.value == 'ui' %} {% endif %}
{% if kpi_set.short_help_text != "" or kpi_set.origin.value == 'ui' %}
{% if kpi_set.short_help_text != "" %}

{{ kpi_set.short_help_text }}

{% else %} {% if kpi_set.origin.value == 'ui' %}

No description provided (add) .

{% endif %} {% endif %}

{{ kpi_set.name }}

{{ kpi_set.short_help_text }}

{{ kpi_set.html_help_text|safe }}
{% if kpi_set.origin.value == 'ui' %}

Edit description

{% endif %}
{% endif %}

Add KPI

Score weights

Weight values determine the relative weight of the score for one check in the KPI total.

Additionally, weight values affect the color used when showing event frames in the bad actors heatmap:

{{ alerter() }} {% if weights_per_kpi|count > 0 %} {% if kpi_set.origin.value == 'ui' %}
{% endif %}
{% if source_name %} {% endif %} {% if kpi_set.origin.value == 'ui' %} {% endif %} {% for kpi_name, weights in weights_per_kpi|dictsort %} {% for weight in weights|sort(attribute="name") %} {% set loop_changed = loop.changed(kpi_name) %} {% if loop_changed %} {% if kpi_set.origin.value == 'ui' %} {% endif %} {% endif %} {% if weight.name is not none %} {% else %} {% endif %} {% endfor %} {% endfor %}
KPI Name Weight
{{ kpi_name|capitalize }} {{ weight.name|capitalize }} {% if weight.weight <= 1 %} {{ bootstrap_icon('square-fill', 'text-warning align-middle', 12) }} {% else %} {{ bootstrap_icon('square-fill', 'text-danger align-middle', 12) }} {% endif %} {{ weight.weight }} - -
{% else %}

KPI set empty.

{% endif %}
{% endblock %}