{% extends 'timeseer.html' %} {% from 'macros.html' import alerter %} {% from 'resources.html' import resource_breadcrumb, resource_menu with context %} {% block menu %} {{ resource_menu('KPIs') }} {% endblock %} {% block styles %} {% endblock %} {% block breadcrumb %} {{ resource_breadcrumb([ ("KPIs", url_for('kpis.show_kpis', sourcename=source_name)), kpi.name, ]) }} {% endblock %} {% block main %}

Configure KPI

{{ kpi.name }}

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

{{ kpi.short_help_text }}

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

No description provided (add) .

{% endif %} {% endif %}

{{ kpi.name }}

{{ kpi.short_help_text }}

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

Edit description

{% endif %}
{% endif %}

Add score weights

{{ bootstrap_icon('square-fill', 'text-warning align-middle', 12) }}

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:

  • Event frames detected using scores with weights equal to or less than 1 appear in yellow.
  • Event frames detected using scores with weights greater than 1 appear in red.

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:

Minimal Duration

Set the minimal duration an event frame of this type should have to be considered during the score calculation for this KPI.

{{ alerter() }} {% if weights|count > 0 %} {% if kpi.origin.value == 'ui' %}
{% endif %}
{% if source_name %} {% endif %} {% if kpi.origin.value == 'ui' %} {% endif %} {% if kpi.origin.value == 'resource' %} {% endif %} {% if kpi.origin.value == 'ui' %} {% endif %} {% for weight in weights|sort(attribute='name') %} {% if kpi.origin.value == 'ui' %} {% endif %} {% if kpi.origin.value == 'resource' %} {% endif %} {% if kpi.origin.value == 'ui' %} {% endif %} {% endfor %}
Score name Weight Minimal Duration
{% if kpi.origin.value == 'ui' %}
{% if weight.weight <= 1 %} {{ bootstrap_icon('square-fill', 'text-warning align-middle', 12) }} {% else %} {{ bootstrap_icon('square-fill', 'text-danger align-middle', 12) }} {% endif %}
{% else %} {% if weight.weight <= 1 %} {{ bootstrap_icon('square-fill', 'text-warning align-baseline me-1', 12) }} {% else %} {{ bootstrap_icon('square-fill', 'text-danger align-baseline me-1', 12) }} {% endif %} {{ weight.weight }} {% endif %}
{{weight.event_frame_duration if weight.event_frame_duration else '-'}}
Use format "1d2h3m4s" where the number preceding 'd' is the days, 'h' is the hours, 'm' the minutes and 's' the seconds to define the minimal duration of an event frame.
{% if kpi.origin.value == 'ui' %} {% endif %}
{% else %}

No score weights in the KPI.

{% endif %}
{% endblock %}