Splunk® Enterprise

Analytics Workspace

Splunk Enterprise version 8.1 will no longer be supported as of April 19, 2023. See the Splunk Software Support Policy for details. For information about upgrading to a supported version, see How to upgrade Splunk Enterprise.
This documentation does not apply to the most recent version of Splunk® Enterprise. For documentation on the most recent version, go to the latest release.

Charts in the Analytics Workspace

Select a source from the Data panel to view your data in a chart in the Analytics Workspace. You can either create a new chart or add additional measurements to an existing chart. Each chart contains one or more time series based on at least one aggregation. Hover over any point on the chart to see the corresponding values in the chart legend.

Charts appear in the main panel of the Analytics Workspace. The following chart shows average values for the aws.ec2.CPUUtilization, aws.ec2.NetworkIn, and aws.ec2.NetworkOut metrics.

This screen image shows an overall view of the Analytics Workspace. In the Main panel, there is a chart with three metrics: aws.ec2.CPUUtilization, aws.ec2.NetworkIn, and aws.ec2.NetworkOut.

To learn how to apply analytic operations to charts, see Analytics in the Analytics Workspace.

View charts in the workspace

View a chart in the Analytics Workspace to see your data represented as a time series.

  1. In the Data panel, search or browse for the data source that you want to view in a chart.
    Option What to do
    Search for a data source In the search box, type part or all of the data source name. The list of available data sources for each data type filters to match your criteria.
    Browse available data sources Click the tab for the type of data that you want to visualize in the workspace. Browse through the tree of available data sources.
  2. Select the data source you want to view as a time series.

The data source appears as a chart in the main panel of the Analytics Workspace. For example, the following chart shows the aggregate average values for the aws.ec2.CPUUtilization metric.

This screen image shows a chart of the aggregate average values for the aws.ec2.CPUUtilization metric.

Change the chart type

Two types of charts are available, time and categorical. Time charts show data over time allowing you to quickly visualize trends in your data. The data can be shown as a line, column, or area chart. and can be split by dimensions. The following time chart example shows admission_quota_controller_depth values as a line chart and a column chart.

This screen image shows an example of a line and a bar time chart.

Categorical charts show data over time, grouped by data dimensions, allowing you to analyze and compare different dimensions across multiple metrics. The data can be shown as a column or stacked column chart and can be split by dimensions. The following categorical chart example shows admission_quota_controller_depth and admission_quota_controller_queue_latency as a column chart and a stacked column chart.

This screen image shows an example of a bar and a stacked bar categorical chart.

Chose a chart type that best displays the data you are viewing.

  1. In the main panel of the Analytics Workspace, click the chart that you want to configure.
  2. In the Analysis panel, click on Chart Settings.
  3. From the drop-down list in the chart type panel, select the chart type you want to use.
    Chart type Chart style Description
    Time charts Line A chart showing the data over time as a series of points connected by straight line segments.
    Area A chart showing the data over time similar to the line chart, with the area between the axis and line filled with a solid color.
    Column A chart showing the data over time as a series of vertical bars. The span of the columns will automatically scale for readability.
    Categorical charts Column A chart showing the data as a series of vertical bars grouped by category. Alerts are disabled for this chart type.
    Stacked Column A chart showing multi-series data as stacked vertical bars grouped by the common dimension of the series and the respective categories. Alerts are disabled for this chart type.

View multiple metrics on a chart

View multiple metrics on the same chart to see how your metrics relate to one another. You can add additional metrics to a chart to analyze correlations in your data.

  1. In the main panel of the Analytics Workspace, click the chart that you want to add another metric to. Your selected chart appears outlined with a blue border.
  2. In the Data panel, search or browse for the data source that you want to add to the chart. Supported data types for multi-series charts include metrics and datasets.
    Option What to do
    Search for a data source In the search box, type part or all of the data source name. The list of available data sources for each data type filters to match your criteria.
    Browse available data sources Click the tab for the type of data that you want to visualize in the workspace. Browse through the tree of available data sources.
  3. Hover over the data source that you want to add to the chart. The Add to selected chart (This screen image shows the Add to selected chart icon.) icon appears. This screen image shows the Data panel and the main panel of the Analytics Workspace. The main panel contains a chart of the aws.ec2.CPUUtilization metric. The Data panel shows the Add to selected chart icon to the right of the aws.ec2.NetworkIn metric.
  4. Click the Add to selected chart (This screen image shows the Add to selected chart icon.) icon to add the data source to the chart.

The data source appears as an additional time series on your selected chart. For example, the following chart shows the aggregate average values for the aws.ec2.CPUUtilization and aws.ec2.NetworkIn metrics:

This screen image shows a chart of the aggregate average values for the aws.ec2.CPUUtilization and aws.ec2.NetworkIn metrics.

Remove a time series from a chart

Remove a time series from a chart to modify the metrics for your analysis.

  1. In the main panel of the Analytics Workspace, select the chart that contains the time series that you want to remove.
  2. In the Analysis panel, locate the name of the time series that you want to remove from the chart.
  3. Next to the time series name, click the X (This screen image shows the X icon.) icon.

View chart actions

Click the ellipsis (This screen image shows the More icon.) icon in the top-right corner of a chart to view a list of chart actions.

Action Description
Open in Search Show the SPL that drives the chart's time series in the Search & Reporting App.
Search Related Events View a list of log events that are related to any metric on the chart.
Save as Alert Save one of the chart's time series as an alert.
Save as Dashboard Panel Save the chart as a panel on a new or existing dashboard.
Save as Report Save the chart as a report. Enter report details and click Save. To access the report, click the Reports tab on the Search & Reporting navigation bar.
Clone this Panel Make a copy of the chart. Clone panels and then make adjustments to compare points in your data. Not available for alert panels.
Export as PNG Export the chart as a PNG file.
Export as CSV Export chart values as a CSV file.

Set the workspace time range

To help you compare time series, all charts in the workspace show the same time range. Hover over any chart to view a shared hairline.

The default time range for the workspace is one hour. Adjust the time range to gain more insight from your charts. If you notice a significant change in your data around an approximate time, narrow the time range to refine your analysis. If you want to see a broader selection of data points, expand the time range to show trends over a longer period of time.

Modifying the workspace time range adjusts the portion of the index that you are analyzing. This change affects how aggregations are calculated on charts. For more information about how the time range affects data point calculations, see Analytics in the Analytics Workspace.

Set the time range through either the time range picker or by zooming in on a chart.

Use the time range picker

Use the time range picker to adjust the time range for all charts in the Analytics Workspace.

  1. From the global actions bar of the Analytics Workspace, click the time range picker.
  2. Select a preset time range from the list or when one of the preset time ranges is not precise enough for your search, select Custom... and enter a relative or specific date and time range.

Custom time ranges

You can use the Relative option to specify a custom time range relative to the current time. You can use the Date & Time Range option to specify a specific custom time range.

  1. Click on the time range drop-down menu and select Custom....
  2. If you want to view metrics in a time range relative to "now", select Relative and enter the earliest date and time you want to view. Relative time must be entered as an integer value.
    This screen image shows the Custom time picker with the Relative radio button selected.
  3. If you want to view metrics in a specific time range, select Date & Time Range and enter the start and end dates and times. Date & Time Range supports all valid date and time formats. See Time modifiers for more information on the supported date and time formats.
    This screen image shows the Custom time picker with the Date and Time Range radio button selected.
  4. Click Apply.

See Specifying time ranges for more information on specifying time ranges.

Zoom in to a custom time range

Zoom in to a custom time range to analyze data from a specific time period.

  1. Select a chart in the workspace to zoom in on.
  2. Click and drag your cursor over the time period you want to view.

All charts show your selected time range.

To undo the zoom, click the back arrow in the top-left corner of the main panel. The time range reverts to the previous setting.

Recover workspace charts

Charts in the Analytics Workspace are automatically backed up to your local system. If you accidentally navigate away from the workspace, you have the option to restore your session in the same browser.

Disable automatic chart recovery

You also have the option to disable automatic chart recovery using the workspace.conf file.

  1. Navigate to the packages/splunk_metrics_workspace/src/main/resources/splunk/default directory on your local file system.
  2. Open workspace.conf.
  3. In the features stanza, add the following line: state_restore = 0.
  4. Restart Splunk Enterprise.

If you are using Splunk Cloud, you cannot disable chart recovery.

For more information about saving charts as dashboard panels, see Dashboards in the Analytics Workspace.

For more information about saving charts as alerts, see Alerts in the Analytics Workspace.

Last modified on 08 January, 2021
 

This documentation applies to the following versions of Splunk® Enterprise: 8.0.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.0.5, 8.0.6, 8.0.7, 8.0.8, 8.0.9, 8.0.10, 8.1.1, 8.1.2, 8.1.3, 8.1.4, 8.1.5, 8.1.6, 8.1.7, 8.1.8, 8.1.9, 8.1.10, 8.1.11, 8.1.12, 8.1.13, 8.1.14


Was this topic useful?







You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters