Datasets in Zluri

The data behind widgets, and how Flat and Expanded datasets differ

A dataset in Zluri is a structured collection of data pulled from various modules across your organization's Zluri account. Datasets are the basis for both standard and custom widgets used in dashboards.

A dataset defines what data is available; a widget defines how it's shown.

Relationship Between Datasets and Widgets

A widget is a visual layer, such as a Bar Chart, Table, or Number, built on top of a dataset.

One Dataset, Many Widgets

Several widgets can use the same dataset. For example:

DatasetWidgets built on it
Applications-ExpandedRecently Used AI Applications (Table), Recently Discovered Shadow AI Applications (Table), Shadow AI Applications (Number)
Access Request-FlatTotal Access Requests Raised (Number), Access Requests by Status (Pie Chart)

Example Use Case

Suppose a dataset tracks monthly users of your AI apps. From it, you can build:

  • A Line Chart for usage trends over time
  • A Number widget showing total active users
  • A Table listing users by department or application

Dataset Structures: Flat vs. Expanded

Every dataset name ends in -Flat or -Expanded, which tells you how its rows are structured. Some datasets come in both forms. For example, App-to-User Mapping-Flat and App-to-User Mapping-Expanded both cover which users use which applications: the Flat version keeps one row per record, while the Expanded version can repeat a user on several rows, one for each application and role (see the example table below).

Flat Dataset

Flat datasets contain one-to-one mapped fields. Each row represents a unique entity with no nesting.

Characteristics:

  • One row per record
  • No repeating or nested fields
  • Simple structure for visualization and aggregation

Use a Flat dataset for:

  • Number widgets (for example, total users or average apps per user)
  • Bar Chart widgets grouped by role or department
  • Simple tables with summary data

Expanded Dataset

Expanded datasets include related data, so one entity (like a user) can span multiple rows, one for each related item (like each app).

Characteristics:

  • One-to-many relationships across rows
  • Supports granular filtering and grouping
  • Requires grouping or a distinct count (the COUNT_DISTINCT aggregate under METRICS) to avoid counting a record more than once

Example Table (columns from App-to-User Mapping-Expanded):

User NameApp NameUser Application Role
AliceSlackAdmin
AliceNotionMember
BobZoomAdmin

Use an Expanded dataset for:

  • Seeing each user's applications and roles row by row, for example when reviewing users who have several apps or roles
  • Filters that combine user, application, and access, for example Admin users of Slack
  • Breakdown charts, for example a stacked Bar Chart

Dataset Selection Guide

Use CaseRecommended Dataset
Summary KPIsFlat
Advanced filters (for example, app + role)Expanded
Simple counts per entityFlat
Hierarchy or relationship analysisExpanded

Prebuilt Datasets in Zluri

Zluri offers the following prebuilt datasets.

DatasetDescription
App-to-User Mapping-FlatWhich users use which applications, with one row for each user and application. Includes the user's department and department path, and the app's status, role, license assigned, annualized cost, and when it was discovered and last used. Use it for views by department or cost.
App-to-User Mapping-ExpandedWhich users use which applications, with a user repeated on several rows, one for each application and role. Includes the user's status and account type, and each app's status, role, license assigned, and when it was discovered and last used. Use it to see each of a user's roles separately.
Application Cost & Spend Summary-FlatMonthly overview of application cost and spend.
Access Certification Records-FlatRecords reviewed in access certifications.
Access Certifications-FlatOne row for each access certification, with its name, stage, owner, whether it recurs, and its start, review end, review concluded, remediation end, and completion dates. For the individual records reviewed in a certification, use Access Certification Records-Flat.
Access Request-FlatAccess requests, with their approvals and workflows.
App Cost Breakdown-FlatDetailed breakdown of application costs.
App Spend Optimization-FlatSuggestions to optimize application usage.
App Spend Summary-FlatTotal application spend, based on billing data.
App User Accounts-FlatUsers mapped to applications, with their account and access details.
Applications Cumulative Count-FlatCumulative number of applications onboarded over time.
Applications-ExpandedDetailed view of all active applications used across departments, including their purpose and users.
Applications-FlatApplications in use across the organization.
Continuous Optimization-FlatTracking of continuous cost-saving recommendations.
Contract Repository-ExpandedContract details, such as date and type, with details of each application in the contract, including its owners and cost.
Contract Repository-FlatContract details, such as date and type, and the applications in each contract.
Employee/User directory-FlatActive and inactive users in the organization.
Licenses-FlatOverview of purchased and consumed licenses.
Org User Onboarding Offboarding-FlatOnboarding and offboarding workflows and automations.
Spend by Cost Center-FlatApplication spend grouped by cost center.
Spend by Department-FlatApplication spend totaled by department.
User License Allocation-FlatLicenses assigned to users across applications.
User-Level Spend-FlatTotal SaaS spend for each user.
Vendor Cost and Spend Summary-FlatContracted cost and actual spend for each vendor, by month. Each row is one vendor in one month.
Workflow executions-FlatAutomations and workflows run through playbooks and actions.
Application Identity Access-FlatEach identity mapped to the applications it can access, with privileged access flagged.
Identity Account Relationship-FlatHow identities relate to accounts in different states.
Identity Details-FlatEvery identity in the organization, with its type, status, lifecycle dates, and secret details.
NHI Privilege and Ownership Details-FlatEvery non-human identity (NHI), with its status, type, group, and privilege and orphan flags.
Owned NHIs-FlatEach NHI linked to the user or group that owns it, with the owner's status, archival state, and offboarding date.
Similar Applications By Feature-FlatSuggested alternative applications with overlapping features.
Policy and Exemption Insights-ExpandedAnalysis of policy enforcement and the use of exceptions.
Policy Violation Insights-ExpandedPolicy violations, with remediation activity, severity, and resolution timelines.

How to Use a Dataset to Create a Widget

To build a widget from any dataset:

  1. Go to Analytics → Widgets.

  2. Click Create New Widget.

  3. Under Choose a dataset, select a dataset. Each dataset shows a one-line description. You can select only one dataset per widget.

    The Choose a dataset list, with each dataset's description:

    Choose a dataset list in Add Widget
  4. Under Choose chart type, select the chart, then click Create new widget.

  5. Configure the widget. See Widgets.

  6. Save the widget and add it to a dashboard. See Create a Dashboard.

Best Practices

  • Use Flat datasets for fast rollups and KPI-level summaries.
  • Use Expanded datasets for deep-dive visualizations and filtering.
  • In expanded datasets, always use grouping or the COUNT_DISTINCT aggregate to avoid overcounts. In the widget editor, click METRICS and, in the My metric panel, choose COUNT_DISTINCT under AGGREGATE. For example, to count unique users, use COUNT_DISTINCT on a user column such as User ID.

Did this page help you?