Skip to main content
Question

Playbook Count variance in Native Dashboarding

  • April 14, 2026
  • 1 reply
  • 54 views

yadavmanjeet65
Forum|alt.badge.img+3

Hi team,

I’m developing a custom view using the native dashboarding features in Google SecOps. I’ve noticed a variance in the playbook counts and I’m trying to understand the cause of this mismatch.

I’ve attached two screenshots:

  • Snip 1: Counts playbooks by playbook name and the distinct count of metadata_alert_id.
  • Snip 2: Counts playbooks by playbook name only.

Could you help explain why these two approaches return different totals?

 

============================================================
Snip1 

 

============================================================

Snip2



 

1 reply

dnehoda
Staff
Forum|alt.badge.img+19
  • Staff
  • April 20, 2026

1. The Relationship Hierarchy

In Google SecOps, a single Alert ID can be associated with multiple playbook executions. This happens for several reasons:

  • Retries and Re-runs: If a playbook fails or is manually restarted by an analyst, the same metadata_alert_id remains constant, but a new playbook execution instance is recorded.

  • Multiple Playbooks per Alert: You might have automation rules that trigger a "Triage" playbook AND a "Remediation" playbook for the same alert ID.

2. Comparing the Two Snips

Snip 1: count_distinct(metadata_alert_id)

This approach is counting unique security events.

  • What it says: "How many individual alerts triggered at least one playbook?"

  • The Result: If "Playbook A" ran five times on the exact same Alert ID, this count will only show 1. It filters out the noise of repetitions.

Snip 2: count(playbook_name)

This approach is counting execution instances.

  • What it says: "How many times did this playbook start, regardless of what triggered it?"

  • The Result: If "Playbook A" ran five times on the same Alert ID, this count will show 5.