Manage datasets
The Datasets listing page shows all of the datasets that you have access to in your Splunk implementation. You can see what types of datasets you have, who owns them, and how they are shared.
For information about the table dataset features of the Datasets listing page, see Manage table datasets.
Open the Datasets listing page
In the Search app, click Datasets in the green Apps bar.
View dataset detail information
You can expand a dataset row to see details about that dataset, such as the fields contained in the dataset, or the date that the dataset was last modified. When you view the detail information of a table dataset, you can also see the datasets that that table dataset is extended from, if applicable.
- In the Search & Reporting app, click Datasets to open the Datasets listing page.
- Find a dataset that you want to review.
- Click the > symbol in the first column to expand the row of the dataset details.
Explore a dataset
Use the Explorer view to inspect a dataset and determine whether it contains information you want. The Explorer view provides tools for the exploration and management of individual datasets.
- Explore datasets with the View Results and Summarize Fields views.
- Use a time range picker to see what datasets contain for specific time ranges.
- Manage dataset search jobs.
- Export dataset contents.
- Save datasets as scheduled reports.
- Perform the same dataset management actions that exist on the Datasets listing page.
For information on using the Explorer view, see Explore a dataset.
Visualize a dataset with Pivot
Use Pivot to create a visualization based on your dataset. You can save the visualization as a report or as a dashboard panel. You do not need to know how to use the Splunk Search Processing Language (SPL) to use Pivot.
You can open all dataset types in Pivot.
Prerequisites
- Introduction to Pivot in the Pivot Manual.
Steps
- In the Search & Reporting app, click Datasets.
- Find a dataset that you want to work with in Pivot.
- Select Explore > Visualize with Pivot.
You can also access Pivot from the Explorer view. See Explore a dataset.
Investigate a dataset in Search
You can create a search string that uses the from
command to reference the dataset, and optionally add SPL to the search string. You can save the search as a report, alert, or dashboard panel.
The saved report, alert, or dashboard panel is extended from the original dataset through a from
command reference. An extended child dataset is distinct from, but dependent on, the parent dataset from which it is extended. If you change a parent dataset, that change propagates down to all child datasets that are extended from that parent dataset.
Prerequisites
- Get started with Search in the Search Manual
- Extend datasets
Steps
- In the Search & Reporting app, click Datasets to open the Datasets listing page.
- Locate a dataset that you want to explore in Search.
- Select Explore > Investigate in Search.
The search returns results in event list format by default. Switch the results format from List to Table to see the table view of the dataset. - (Optional) Update the search string with additional SPL. Do not remove the
from
reference. - (Optional) Click Save as to save your search, and select either Report, Dashboard Panel, or Alert.
- (Optional) Click New Table to create a new table dataset based on the search string.
Edit datasets
From the Datasets listing page you can access editing options for the different dataset types.
Dataset Type | Select | Result | More info |
---|---|---|---|
Data Model | Manage > Edit Data Model | Opens the Data Model Editor. | See Design data models. |
Lookup Table | Manage > Edit Lookup Table Files | Opens the Lookup table files listing page in Settings. | See About lookups. |
Lookup Definition | Manage > Edit Lookup Definition | Opens the detail page for the lookup definition from the Lookup definitions listing page in Settings. | See About lookups. |
Manage dataset permissions
Change dataset permissions to widen or restrict their availability to other users. You can set up read and write access by role, and you can make datasets globally accessible, restricted to a particular app context, or private to a single user.
By default, only the Power and Admin roles can set permissions for datasets.
Lookup table files and lookup definitions
- On the Datasets listing page, identify a lookup table file or lookup definition that requires permission edits.
- Select Manage > Edit Permissions.
For information about setting permissions for these dataset types, see Manage knowledge object permissions.
Lookup table files and lookup definitions are interdependent. Every CSV lookup definition includes a reference to a CSV lookup table file, and any CSV lookup table file can potentially be associated with multiple CSV lookup definitions. This means that each lookup table file must have permissions that are wider in scope or equal to the permissions of the lookup definitions that refer to it. For example, if your lookup table file is referenced by a lookup definition that is shared only to users of the Search app, that lookup table file must also be shared with users of the Search app, or it must be shared globally to all users. If the lookup table file is private, the lookup definition cannot connect to it, and the lookup will not work.
See About lookups and field actions.
Data model datasets
Permissions for data model datasets are set at the data model level. All datasets within a data model have the same permissions settings. There are two ways to set permissions for data models:
- Through the Data Model Editor
- Through the Data Models listing page in Settings
Prerequisites
Steps for setting data model dataset permissions with the Data Model Editor
- In the Search & Reporting app, click Datasets to open the Datasets listing page.
- Identify the data model dataset for which you want to update permissions.
- Select Manage > Edit data model.
- Select Edit > Edit permissions to set permissions for the data model that your selected data model dataset belongs to.
- (Optional) Change the audience that you want the data model to Display for. It can display for users of a specific App or users of All apps.
- (Optional) If the data model displays for an App or All apps, you can change the Read and Write settings that determine which roles can view or edit the data model.
- Click Save or Cancel.
Steps for setting data model dataset permissions with the Data Models listing page in Settings
- Select Settings > Data models.
- Identify the data model for which you would like to change permissions.
- Select Edit > Edit permissions to set permissions for the data model that your selected data model dataset belongs to.
- (Optional) Change the audience that you want the data model to Display for. It can display for users of a specific App or users of All apps.
- (Optional) If the data model displays for an App or All apps, you can change the Read and Write settings that determine which roles can view or edit the data model.
- Click Save or Cancel.
If you want to share a private dataset that you do not own, you can change its permissions though the appropriate management page in Settings. You cannot see private datasets that you do not own in the Datasets listing page.
Steps
- Select the Settings page for the type of data model that you are looking for, such as Settings > Lookups > Lookup table files.
- Locate the dataset that you want to share and select Edit > Edit Permissions.
- Share the dataset at the App or All apps level, and set read/write permissions as necessary.
- Click Save.
When you return to the Datasets listing page you see that the dataset is visible and has the new permissions that you set for it.
Delete datasets
You can delete lookups and table datasets through the Datasets listing page. You can delete a data model dataset from the Data Model editor.
Lookups and table datasets
- In the Search & Reporting app, click Datasets to open the Datasets listing page.
- Locate a lookup or table dataset that you want to delete.
- Select Manage > Delete.
- On the Delete Dataset dialog, click Delete again to verify that you want to delete the dataset.
Data model datasets
- In the Search & Reporting app, click Datasets to open the Datasets listing page.
- Locate a data model dataset that you want to delete.
- Select Manage > Edit Dataset.
- In the Data Model Editor, click Delete for the data model dataset.
Dataset types and usage | Explore a dataset |
This documentation applies to the following versions of Splunk Cloud Platform™: 9.2.2406, 8.2.2112, 8.2.2202, 9.0.2205, 8.2.2201, 8.2.2203, 9.0.2208, 9.0.2209, 9.0.2303, 9.0.2305, 9.1.2308, 9.1.2312, 9.2.2403 (latest FedRAMP release)
Feedback submitted, thanks!