Analyzing data in the Splunk Metrics Workspace
Your team manages a bike share program that allows users to check out bicycles using a mobile application.
To gain better insight into your business, you want to analyze the following metrics:
- Inventory status over time
- User availability checks over time
- Social media mentions over time
- User sentiment over time
This use case uses a metrics data source designed to help you get started with the Splunk Metrics Workspace. To work through this use case, you need the following:
- Splunk Web version 7.0 or later with the Metrics Workspace installed
- Admin-level access
- Unzipped sample data
Create a metrics index and upload the sample data using Splunk Web. Then locate and analyze your data in the Metrics Workspace.
- Create a metrics index
- Upload data from a CSV file
- Locate your data in the Splunk Metrics Workspace
- Analyze your data in the Splunk Metrics Workspace
Create a metrics index
- In Splunk Web, navigate to Settings > Indexes and click New Index.
- For Index Name, type "bikes".
- For Index Data Type, click Metrics.
- For the remaining properties of the index, use the default values.
- Click Save.
Upload data from a CSV file
- In Splunk Web, go to Settings > Add Data.
- Scroll down and click Upload files from my computer.
- Under Select Source, click Select File.
- Locate the
metrics-bikes.csv
file in your file directory system, and click Open. - After the file uploads to Splunk Web, click Next.
- Under Set Source Type, click the Source type drop-down list, and click Metrics > metrics_csv. Then click Next.
- (Optional) On the Input Settings page, under Host, specify a host value.
- On the Input Settings page, under Index, select bikes. Then click Review.
- Review your data upload settings. Then click Submit.
Locate your data in the Splunk Metrics Workspace
- Navigate to the Search & Reporting app.
- Click the Metrics tab to open the Splunk Metrics Workspace.
- In the Data panel, click Metrics to view a list of metrics data sources. DemoBikeMetrics appears in the list of metrics data sources.
Analyze your data in the Splunk Metrics Workspace
- To view a chart showing checked-out bike inventory over time, click Metrics > DemoBikeMetrics > LiveInventory > CheckedOut.
- In the global actions bar, click the time range picker, and select Last 48 hours. The workspace time range expands to show a wider range of data.
- To view a chart showing user availability checks over time, click Metrics > DemoBikeMetrics > MobileApp > AvailabilityCheckRequests.
- To view a chart showing social media mentions over time, click Metrics > DemoBikeMetrics > Social > News.
- To view a chart showing user sentiment over time, click Metrics > DemoBikeMetrics > Social > Sentiment.
- To view how your metrics vary based on location, select any chart in the workspace. In the Analysis panel, under Split By, select city. Repeat this process for each of the other three charts in the workspace.
- To view the workspace in grid layout, click the grid icon in the global actions bar.
Summary
From the charts in the workspace, you can deduce that there is a positive correlation between checked-out inventory and user availability requests. There is also a positive correlation between social media mentions and user sentiment. These metrics all peak during certain times of the day, most likely during typical commute hours.
For more information about analyzing data in the Splunk Metrics Workspace, see Analytics in the Splunk Metrics Workspace.
Dashboards in the Splunk Metrics Workspace | Creating a dashboard in the Splunk Metrics Workspace |
This documentation applies to the following versions of Splunk® Metrics Workspace (Legacy): 1.1.6, 1.1.7, 1.1.9
Feedback submitted, thanks!