Splunk® App for Anomaly Detection

Use the Splunk App for Anomaly Detection

Acrobat logo Download manual as PDF


This documentation does not apply to the most recent version of Splunk® App for Anomaly Detection. For documentation on the most recent version, go to the latest release.
Acrobat logo Download topic as PDF

Troubleshoot the Splunk App for Anomaly Detection

The following are issues you might experience when using the Splunk App for Anomaly Detection and how to resolve them. If you don't see the information you need, you can ask your question and get answers through community support at Splunk Answers.

You see a "Splunk App for Anomaly Detection requires the [PSC/MLTK] add-on to be installed" banner

Cause

You are not running the required version(s) of the Splunk Machine Learning Toolkit (MLTK) app or the Python for Scientific Computing (PSC) add-on.

Solution

Update MLTK or PSC to the required version(s). See, Version dependencies for the Splunk App for Anomaly Detection.

The app is lagging or hanging when you try to add or manage jobs

Cause

You are not running the required version(s) of the Splunk Machine Learning Toolkit (MLTK) app or the Python for Scientific Computing (PSC) add-on.

Solution

Update MLTK or PSC to the required version(s). See, Version dependencies for the Splunk App for Anomaly Detection.

Data health diagnostics detects issues

Cause

When you select the numeric field on which you'd like to detect anomalies, the app runs a health diagnostic. If you data is missing values or rows, or the data has unevenly spaced timestamps, the data quality icon shows as red.

Solution

Perform some cleanup on your data and query again. You can leverage commands like fillnull to fill in missing or non-numeric values. You can use aggregation such as the bin command to create evenly-spaced temporal data.

The full dataset doesn't show up in the listed results or on plot

Cause

The app truncates the time series at ten-thousand data points.

Solution

Trim your data to only the most interesting ten-thousand data points, or run the data in batches.

The time range selected in time range picker is not being applied to output of inputlookup

Cause

The time range picker doesn't apply to the inputlookup command in this app.

Solution

Switch to a search instead, or consider using the head or tail commands:

  • For the syntax of the head command, see head in the Search Reference.
  • For the syntax of the tail command, see tail in the Search Reference.

You can also choose to edit your lookup to only include data from the time range you're interested in analyzing for anomalies.

The Anomalies count to the right of the anomaly plot does not match the number of yellow dots in the plot or number of rows in the anomaly results table

This image shows the resulting plot visualization of running the app on a dataset. The count of anomalies shows as 1, but there are several yellow dots plotted.

Cause

This is expected behavior. Adjacent anomalous points are counted as a single anomalous interval.

Last modified on 06 July, 2023
PREVIOUS
Support for the Splunk App for Anomaly Detection
 

This documentation applies to the following versions of Splunk® App for Anomaly Detection: 1.0.0


Was this documentation topic helpful?


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