{% macro stamp(value) %}{% if value is not none %}{% else %}No record{% endif %}{% endmacro %} {% macro outcome(value,labels) %}{{ labels.get(value,value|replace('_',' ')) }}{% endmacro %} {% macro filters(data,labels,action,host='') %}
{% if host %}{% else %}{% endif %} {% for book in data.playbooks %} {% if not host %}{% endif %}
{% endmacro %} {% macro summary(data,labels) %}
RETAINED WEBGUI RUNS{{ data.jobs }}Visible jobs in this filter
TARGET OUTCOMES{{ data.samples }}One host per job = one sample
SUCCESSFUL / KNOWN{{ data.success_percent|string + '%' if data.success_percent is not none else 'No samples' }}{{ data.counts.successful }} / {{ data.eligible }} succeeded, failed or unreachable

Recorded outcomes

Not a live health or compliance measurement.

{{ data.filters.mode }}
{% if data.samples %} {% set pos=namespace(x=0) %}{% for val,num in data.counts.items() %}{% if num %}{% set width=num*1000/data.samples %}{{ labels[val] }}: {{ num }}{% set pos.x=pos.x+width %}{% endif %}{% endfor %}{% endif %}
{% for val,num in data.counts.items() %}{{ labels[val] }} {{ num }}{% endfor %}

{{ data.changed_participations }} host/run samples reported changed tasks. Unknown, not-started, unavailable and unfinished samples are excluded from the success-rate denominator.

{% endmacro %} {% macro records(data,labels) %}
{% for r in data.records %}
{{ r.playbook|replace('_',' ') }}
Job {{ r.job_id[:12] }} · {{ r.username }} · {{ r.mode }}
{{ stamp(r.recorded_at) }}{% if r.finished_at is none %} · creation time{% endif %}
{{ outcome(r.outcome,labels) }}Whole job: {{ r.job_display_status|replace('_',' ') }}
{% if r.counts is not none %}
Target task counters
{% for k,n in r.counts.items() %}
{{ k }}
{{ n }}
{% endfor %}
{% else %}

{{ 'This job has not finished.' if r.outcome == 'outstanding' else 'No authoritative per-target result is retained for this record.' }}

{% endif %}
{% else %}

No retained runs match

Try a wider time range or another mode. Terminal AIM runs and deleted jobs are not collected.

{% endfor %}
{% endmacro %}