Flex
The Sumo Logic app for Flex enables you to gain an efficient and centralized log analytics framework capable of managing enterprise-wide cloud-scale log ingestion without cost concerns. It aligns cost to business value and overcomes today’s ever-growing data challenge by only charging customers for data storage and analytics executed. This revolutionary new consumption model provides customers with a scalable and efficient log analytics architecture that grows to manage enterprise-wide and cloud-scale log ingestion without the risk of runaway costs.
Learn how to view the Flex app dashboards.
Log types
By default, Flex Index and Search Audit Index are enabled to collect data for the Flex app.
Log samples
Click to expand
[
{
"field":"sourcename_and_tier_volume",
"dataTier":"Flex",
"sizeInBytes":11555,
"count":1
},
{
"field":"collector_and_tier_volume",
"dataTier":"Flex",
"sizeInBytes":366,
"count":1
},
{
"field":"source_metrics_volume",
"dataTier":"Flex",
"sizeInBytes":4463,
"count":47
},
{
"field":"source_and_tier_volume",
"dataTier":"Flex",
"sizeInBytes":731,
"count":1
},
{
"field":"sourcehost_metrics_volume",
"dataTier":"Flex",
"sizeInBytes":4973,
"count":47
},
{
"field":"sourcecategory_metrics_volume",
"dataTier":"Flex",
"sizeInBytes":5362,
"count":47
},
{
"field":"PDET/CIS/AWS/Vanta/Flow",
"dataTier":"Flex",
"sizeInBytes":70759,
"count":126
},
{
"field":"collector_volume",
"dataTier":"Flex",
"sizeInBytes":262,
"count":1
},
{
"field":"sourcename_metrics_volume",
"dataTier":"Flex",
"sizeInBytes":5481,
"count":47
},
{
"field":"collector_metrics_volume",
"dataTier":"Flex",
"sizeInBytes":5159,
"count":47
},
{
"field":"view_volume",
"dataTier":"Flex",
"sizeInBytes":364,
"count":1
},
{
"field":"",
"dataTier":"Flex",
"sizeInBytes":333,
"count":19
},
{
"field":"PDET/CIS/AWS/GuardDuty",
"dataTier":"Flex",
"sizeInBytes":30471,
"count":15},
{
"field":"sourcehost_and_tier_volume",
"dataTier":"Flex",
"sizeInBytes":1158,
"count":1
},
{
"field":"view_and_tier_volume",
"dataTier":"Flex",
"sizeInBytes":546,
"count":1
},
{
"field":"PDET/CIS/AWS/CloudTrail/Analytics",
"dataTier":"Flex",
"sizeInBytes":62273,
"count":70
},
{
"field":"sourcecategory_volume",
"dataTier":"Flex",
"sizeInBytes":6485,
"count":1
},
{
"field":"sourcehost_volume",
"dataTier":"Flex",
"sizeInBytes":794,
"count":1
},
{
"field":"sedemostag/events",
"dataTier":"Flex",
"sizeInBytes":22790,
"count":19
},
{
"field":"source_volume",
"dataTier":"Flex",
"sizeInBytes":497,
"count":1
}
]
Sample queries
_index=sumologic_volume
| parse regex "(?<data>\{[^\{]+\})" multi
| json field=data "field","dataTier","sizeInBytes","count" as sourcecategory, dataTier, bytes, count
| where _sourceCategory matches "sourcecategory_and_tier_volume" and dataTier matches "Flex"
| bytes/1024/1024/1024 as gbytes
| sum(gbytes) as gbytes
| ((queryEndTime() - queryStartTime())/(1000*60*60*24)) as duration_in_day
| gbytes / duration_in_day as %"GB/Day"
| fields %"GB/Day"
For more examples, refer to Log and Tracing Data Volume Index and Metrics Data Volume Index.
Installing the Flex app
Prerequisite
Enable both the Flex Index (sumologic_volume) and the Search Audit Index (_view = sumologic_search_usage_per_query) before installation. See Flex Index and Enable the Search Audit Index for instructions.
The Flex app will be pre-installed for all Flex users.
- Navigate to App Catalog > Installed Apps to find the installed Flex app.
- Click the Flex app tile.
- Go to What's Included > Dashboards: View content in Library to preview the dashboards.
If you do not have the Flex app installed, follow the steps below.
To install the app:
- Select App Catalog.
- In the Search Apps field, search for and then select your app.
- Optionally, you can scroll down to preview the dashboards included with the app. Then, click Install App (sometimes this button says Add Integration).
- Click Next.
- Look for the dialog confirming that your app was installed successfully.

Once an app is installed, it will appear in your Personal folder or the folder that you specified. From here, you can share it with other users in your organization. Dashboard panels will automatically start to fill with data matching the time range query received since you created the panel. Results won't be available immediately, but within about 20 minutes, you'll see completed graphs and maps.
Viewing Flex app dashboards
All dashboards have a set of filters that you can apply to the entire dashboard. Use these filters to drill down and examine the data to a granular level.
- You can change the time range for a dashboard or panel by selecting a predefined interval from a drop-down list, choosing a recently used time range, or specifying custom dates and times. Learn more.
- You can use template variables to drill down and examine the data on a granular level. For more information, see Filtering Dashboards with Template Variables.
- Most Next-Gen apps allow you to provide the scope at the installation time and are comprised of a key (
_sourceCategoryby default) and a default value for this key. Based on your input, the app dashboards will be parameterized with a dashboard variable, allowing you to change the dataset queried by all panels. This eliminates the need to create multiple copies of the same dashboard with different queries.
Overview
The Flex - Overview dashboard displays the amount of data that you are ingesting and scanning in logs. It also helps you understand how much data you are ingesting in Metrics and Tracing.
Capacity Utilization
The Flex - Capacity Utilization dashboard displays the subscribed, actual, and percentage capacity utilization for logs and metrics.
Credits Consumed
The Flex - Credits Consumed dashboard provides visibility into the total amount of Sumo Logic Credits consumed by your organization. This allows you to monitor and control search costs.
The credits_conversion parameter indicates the credits consumed per 1 GB of scan. The credits conversion used in the dashboard and saved searches might be different from what is defined in your contract (Credits Table) based on your account subscription type, so update this parameter for accurate calculation. Check with your account executive to determine this value for your account.
Feature Level Scan Volume
The Flex - Feature Level Scan Volume dashboard provides visibility into the scan volume at a feature level to monitor and control cost at a feature level.
The credits_conversion parameter indicates the credits consumed per 1 GB of scan. The credits conversion used in the dashboard and saved searches might be different from what is defined in your contract (Credits Table) based on your account subscription type, so update this parameter for accurate calculation. Check with your account executive to determine this value for your account.
Log Spikes
The Flex - Log Spikes dashboard helps to review details of your data ingested for logs.
Logs
The Flex - Logs dashboard helps you see your log ingest volume between default and non-default indexes, along with the predicted growth. This dashboard also provides details about the Flex scan and predicted growth for scan volume.
Metrics
The Flex - Metrics dashboard helps you review the metrics details of your data ingestion and identify areas of high-volume ingestion.
Tracing
The Flex - Tracing dashboard helps to review tracing details of your data ingest and to identify areas of high-volume ingest.
Create monitors for the Sumo Logic Flex app
From your App Catalog:
- From the Sumo Logic navigation, select App Catalog.
- In the Search Apps field, search for and then select your app.
- Make sure the app is installed.
- Navigate to What's Included tab and scroll down to the Monitors section.
- Click Create next to the pre-configured monitors. In the create monitors window, adjust the trigger conditions and notifications settings based on your requirements.
- Scroll down to Monitor Details.
- Under Location click on New Folder.
note
By default, monitor will be saved in the root folder. So to make the maintenance easier, create a new folder in the location of your choice.
- Enter Folder Name. Folder Description is optional.
tip
Using app version in the folder name will be helpful to determine the versioning for future updates.
- Click Create. Once the folder is created, click on Save.
Flex app alerts
| Name | Description | Alert Condition | Recover Condition |
|---|---|---|---|
Flex - Collector Ingestion Spike Detection | This alert is generated when the delta of collector log ingestion for the previous day and today is greater than the defined threshold percentage. | Count > 100 | Count < = 100 |
Flex - Daily Credit Budget Exhaustion Alert | This alert triggers when the total daily credit consumption crosses the set threshold limit to prevent budget depletion and unexpected cost overruns. | Count > 75 | Count < = 75 |
Flex - Daily Data Ingestion Capacity Exceeded Alert | This alert is triggered when the daily data ingestion value exceeds the set threshold value. | Count > 75 | Count < = 75 |
Flex - Data Scan Volume Threshold Breach | This alert is generated when the daily average scan volume goes above the set threshold value. | Count > 100 | Count < = 100 |
Flex - Expensive Query Detection Alert | This alert is triggered when consumed credits for any specific query cross the set threshold value. | Count > 5 | Count < = 5 |
Upgrade/Downgrade the Flex app (Optional)
To update the app, do the following:
Next-Gen App: To install or update the app, you must be an account administrator or a user with Manage Apps, Manage Monitors, Manage Fields, Manage Metric Rules, and Manage Collectors capabilities depending upon the different content types part of the app.
- Select App Catalog.
- In the Search Apps field, search for and then select your app.
Optionally, you can identify apps that can be upgraded in the Upgrade available section. - To upgrade the app, select Upgrade from the Manage dropdown.
- If the upgrade does not have any configuration or property changes, you will be redirected to the Preview & Done section.
- If the upgrade has any configuration or property changes, you will be redirected to the Setup Data page.
- In the Configure section of your respective app, complete the following fields.
- Field Name. If you already have collectors and sources set up, select the configured metadata field name (eg _sourcecategory) or specify other custom metadata (eg: _collector) along with its metadata Field Value.
- Click Next. You will be redirected to the Preview & Done section.
Post-update
Your upgraded app will be installed in the Installed Apps folder and dashboard panels will start to fill automatically.
See our Release Notes changelog for new updates in the app.
To revert the app to a previous version, do the following:
- Select App Catalog.
- In the Search Apps field, search for and then select your app.
- To version down the app, select Revert to < previous version of your app > from the Manage dropdown.
Uninstalling the Flex app (Optional)
To uninstall the app, do the following:
- Select App Catalog.
- In the 🔎 Search Apps field, run a search for your desired app, then select it.
- Click Uninstall.