Create a static analytics table promotion from selected data in a Machine Data Lake raw table.
-
You have static promotion capability on the selected raw table.
-
You have view or query access to the raw table so that you can review dataset details and run promotion preview before you submit the promotion.
-
You know the fields, field names, and field types that the analytics workflow requires. Define the exact output schema before you start the promotion.
-
You have sample events in the selected time range that represent the fields you need to extract from raw data.
Promote data to an analytics table when you need selected raw data in a structured schema for analytics search, reporting, notebooks, business intelligence, machine learning, compliance review, audit review, or large-scale aggregation. Analytics table promotion is static. It creates a table from a selected historical time range and does not keep promoting new events as they arrive.
An analytics table promotion requires field extraction and schema definition. Select Extract fields from raw, review the extracted fields, define the exact output schema, and use custom SPL2 when needed to extract fields or shape the schema. Promotion does not remove the source data from the raw table, which keeps its own retention settings.
- From the global navigation bar in Splunk Cloud Platform, select the Catalog (
) icon.
- On the Catalog page, use the Datasets tab to find the raw table that contains the data you want to promote.
You can search, filter by time range, sort table columns, or move through pages of datasets.
- Select the raw table and then select Promote.
The promotion workflow opens for the selected dataset.
- On the Configure step, select Static promotion to an analytics table.
Use this promotion type only when the target needs a bounded historical range with an explicit structured schema. If the data needs Splunk search, dashboards, alerts, scheduled searches, monitoring, or correlation, promote data to a Splunk index instead, see Promote data to a Splunk index.
- Set the historical time range that contains the data you need in the analytics table.
Use a preset, relative range, date range, date and time range, or advanced earliest and latest values. Keep the range focused so the promotion includes only relevant data and enough representative events to extract the required fields.
- (Optional) To narrow the promotion to specific events, select Add filter.
Choose a field such as host, sourcetype, or source, and enter the value that identifies the events to include. Add more filters to narrow the data further, or remove a filter that you no longer need.
- Select Next.
- On the Preview page, select Extract fields from raw.
Field extraction creates candidate fields from representative raw events in the selected time range. If the extraction does not find a required field, use custom SPL2 when needed to extract the field or shape the schema.
- Review the extracted fields.
Keep only the fields that the analytics table must contain. Remove fields that are not needed for the analytics workflow, and confirm that the retained fields use clear names and expected values.
- Define the exact output schema for the analytics table.
Confirm each field name, field type, and output shape before you create the table. The schema controls how users query the promoted analytics table after the promotion completes.
- When required fields are missing or the output schema needs additional shaping, turn on SPL2 editor and add custom SPL2.
Use custom SPL2 to extract fields from _raw, rename fields, cast values, or shape the table schema when the field extraction output is not sufficient.
Important: Don't use lookup-based processing in Machine Data Lake promotion workflows. Lookup actions and SPL2 processing that references lookups are not supported for static promotion to an analytics table.
- Select the Run (
) icon or press Control+Enter to preview the analytics table output.
Validate that the preview includes the expected rows, excludes unwanted events, and shows the exact fields and types that the analytics workflow requires.
- Revise the time range, filters, extracted fields, schema, or custom SPL2 until the preview matches the analytics table you intend to create.
Run preview again after each change. Do not continue until the preview output matches the required schema and representative rows.
- When the preview matches the analytics table you want to promote, select Next.
- On the Review and finalize page, enter a unique promoted dataset name and optional description.
Use a name and description that help you and your team understand what the analytics table contains, which raw table it came from, and which schema it uses.
- Review the Promotion job summary and dataset summary sections.
- Select Start promotion.
Machine Data Lake creates a promotion job and opens the promotion job list in the Catalog Promotion jobs tab.
Machine Data Lake creates a static analytics table for the selected historical time range, filters, and output schema. The analytics table is available as a promoted dataset after the promotion job completes. The source raw data remains in the raw table.
Go to the Catalog and select the Promotion jobs tab. Refresh the job list, open the job details panel, and follow the promoted dataset link when the job completes. See, Monitor and manage promotion jobs. If the promoted dataset is ready, see Search Machine Data Lake data from the Catalog.