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:
| Dataset | Widgets built on it |
|---|---|
| Applications-Expanded | Recently Used AI Applications (Table), Recently Discovered Shadow AI Applications (Table), Shadow AI Applications (Number) |
| Access Request-Flat | Total 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. Most datasets come in only one form. Three come in both: App-to-User Mapping, Applications and Contract Repository. For these three, the two forms have different columns, and the Applications and Contract Repository forms also return a different number of rows. Choose the form that has the columns your widget needs.
| Dataset | Rows | Columns only in -Flat | Columns only in -Expanded | Use -Flat for | Use -Expanded for |
|---|---|---|---|---|---|
| App-to-User Mapping | Same in both forms: one row for each user and application | User Department, User Department Top Level, User Department Path, User App Annualized Cost, Optimization Reason | App Category, App Sub Category | Views by department or cost | Views by app category |
| Applications | -Flat has one row for each application. -Expanded returns more rows, because one application can appear on several rows | User Count and your organization's custom fields | App Category, App Sub Category | Counting applications, user counts per application | Grouping applications by category |
| Contract Repository | The two forms return a different number of rows | Renewal Date, Renewal Type and your organization's custom fields | Contract Renewal Date, Payment Renewal Date, Vendor Name, App Actual Cost, Contract Value Original Currency, Invoiced Currency, Days Until Renewal, App Technical Owner | Listing and counting contracts | Vendor, currency, cost and renewal details |
When one record can appear on several rows, as in Applications-Expanded, count with COUNT_DISTINCT under METRICS on the record's ID, for example App ID, so each record is counted once.
For the columns of every other dataset, see Prebuilt Datasets in Zluri.
Prebuilt Datasets in Zluri
Zluri offers the following prebuilt datasets.
| Dataset | Description |
|---|---|
| App-to-User Mapping-Flat | Which users use which applications, one row for each user and application. Has the user's department, the annualized cost and the optimization reason, so use it to break usage down by department or cost. Same rows as App-to-User Mapping-Expanded; only the columns differ. |
| App-to-User Mapping-Expanded | Which users use which applications, one row for each user and application. Has the app's category and sub-category, so use it to break usage down by app category. Same rows as App-to-User Mapping-Flat; only the columns differ. |
| Application Cost & Spend Summary-Flat | Monthly overview of application cost and spend. |
| Access Certification Records-Flat | One row for each record reviewed in an access certification, with the subject and entity reviewed, the review and task status, who last reviewed it and when, and the certification's name and ID. |
| Access Certifications-Flat | One 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-Flat | Access requests, with their approvals and workflows. |
| App Cost Breakdown-Flat | Detailed breakdown of application costs. |
| App Spend Optimization-Flat | Suggestions to optimize application usage. |
| App Spend Summary-Flat | Total application spend, based on billing data. |
| App User Accounts-Flat | Users mapped to applications, with their account and access details. |
| Applications Cumulative Count-Flat | Cumulative number of applications onboarded over time. |
| Applications-Expanded | Detailed view of all active applications used across departments, including their purpose and users. |
| Applications-Flat | Applications in use across the organization. |
| Continuous Optimization-Flat | Tracking of continuous cost-saving recommendations. |
| Contract Repository-Expanded | Contract details, such as date and type, with details of each application in the contract, including its owners and cost. |
| Contract Repository-Flat | Contract details, such as date and type, and the applications in each contract. |
| Employee/User directory-Flat | Active and inactive users in the organization. |
| Licenses-Flat | Overview of purchased and consumed licenses. |
| Org User Onboarding Offboarding-Flat | Onboarding and offboarding workflows and automations. |
| Spend by Cost Center-Flat | Application spend grouped by cost center. |
| Spend by Department-Flat | Application spend totaled by department. |
| User License Allocation-Flat | Licenses assigned to users across applications. |
| User-Level Spend-Flat | Total SaaS spend for each user. |
| Vendor Cost and Spend Summary-Flat | Contracted cost and actual spend for each vendor, by month. Each row is one vendor in one month. |
| Workflow executions-Flat | Automations and workflows run through playbooks and actions. |
| Application Identity Access-Flat | Each identity mapped to the applications it can access, with privileged access flagged. |
| Identity Account Relationship-Flat | How identities relate to accounts in different states. |
| Identity Details-Flat | Every identity in the organization, with its type, status, lifecycle dates, and secret details. |
| NHI Privilege and Ownership Details-Flat | Every non-human identity (NHI), with its status, type, group, and privilege and orphan flags. |
| Owned NHIs-Flat | Each NHI linked to the user or group that owns it, with the owner's status, archival state, and offboarding date. |
| Similar Applications By Feature-Flat | Suggested alternative applications with overlapping features. |
| Policy and Exemption Insights-Expanded | Analysis of policy enforcement and the use of exceptions. |
| Policy Violation Insights-Expanded | Policy violations, with remediation activity, severity, and resolution timelines. |
How to Use a Dataset to Create a Widget
To build a widget from any dataset:
-
Go to Analytics → Widgets.
-
Click Create New Widget.
-
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:

-
Under Choose chart type, select the chart, then click Create new widget.
-
Configure the widget. See Widgets.
-
Save the widget and add it to a dashboard. See Create a Dashboard.
Best Practices
- When a dataset comes in both -Flat and -Expanded, choose the form that has the columns you need. See Dataset Structures: Flat vs. Expanded.
- In a dataset where one record can span several rows, such as Applications-Expanded, 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.
Updated about 4 hours ago
