Add a predictive model to a glass table in ITSI
You can add predictive models to glass tables as ad hoc search visualizations. This lets you actively monitor service health and troubleshoot imminent issues before they impact your services.
Ad hoc searches are not optimized because each visualization runs its own individual search. Thus, the loading time for your glass table visualization is proportional to the number of predictive model visualizations you add.
- You must have a trained model saved into the service definition. For more information, see Train a predictive model in ITSI.
- Select Configuration > Services, and select a service. Make sure you're on the Predictive Analytics tab within the service.
- Within the service, click on the Predictive Analytics tab and select the model under Test a Model.
- Click the magnifying glass in the Predicted Average Case Service Health Score or Predicted Worst Case Service Health Score panel to open the predictions in the Search app.
The search is the same whether you select average or worst case.
- Copy the search string.
- Open your glass table in Edit mode.
- Select the data icon and click Create Ad hoc search.
- Paste the copied search string into the
Search with SPLbox. Click Run & Save.
- Select the ad hoc search you created to add it to the glass table. This will add a new ad-hoc visualization to the glass table.
Note:By default, the global time range picker sets the time range for all visualizations. Alternatively, you can add additional inputs to set custom time ranges on a per-visualization basis. See [http://docs.splunk.com/Documentation/ITSI/4.12.1/SI/Visualizations#Set_different_time_ranges_for_visualizations Set different time ranges for visualizations].
- After adding the ad-hoc visualization, click Source to access the source editor. Update the
encoding, and update the
primaryinput to your desired threshold setting. Type
primary.next30m_avg_hsto display the average prediction, or
primary.next30m_worst_hsto display the worst case prediction.
- (Optional) Add color thresholding to predictive analytics visualizations:
- (Optional) Select a data field to pull search values from by clicking the Selected Data Field dropdown menu. By default, the first numeric data field is selected.
- Apply dynamic color thresholds using the Coloring section in the Configuration panel. For more information, see Configuration options for single value and single value icon visualizations.
- (Optional) Add a drilldown to the Predictive Analytics dashboard:
- Select the visualization.
- In the Configuration panel, select Add Drilldown.
- For On Click, choose the Link to custom URL option.
- In a separate ITSI window, navigate to Dashboards > Predictive Analytics.
- Select the service and corresponding model to display the health score prediction.
- Copy the URL and paste it into the
URLfield in the Configuration panel.
- Edit the URL from
auto_load=trueto automatically load all of the dashboard panels.
- Select a visualization type in the Configuration panel. You cannot use the sparkline or trending value visualization types because the prediction is a static value.
- Click Save.
For more information about ad hoc search visualizations, see Add an ad hoc search visualization.
Create an alert for potential service degradation in ITSI
Retrain a predictive model in ITSI
This documentation applies to the following versions of Splunk® IT Service Intelligence: 4.9.0, 4.9.1, 4.9.2, 4.9.3, 4.9.4, 4.9.5, 4.9.6, 4.10.0 Cloud only, 4.10.1 Cloud only, 4.10.2 Cloud only, 4.10.3 Cloud only, 4.10.4 Cloud only, 4.11.0, 4.11.1, 4.11.2, 4.11.3, 4.11.4, 4.11.5, 4.11.6, 4.12.0 Cloud only, 4.12.1 Cloud only, 4.13.0, 4.13.1, 4.14.0 Cloud only