Using field as a discrete random variable, this command analyzes all numerical fields to determine the ability for each of those fields to
predict the value of the
classfield. It determines the stability of the relationship between values in the target
classfield and numeric values in other fields.
As a reporting command,
analyzefields consumes all input results and generates one row for each numeric field in the output results. The values in that row indicate the performance of the
analyzefields command at predicting the value of a
classfield. For each event, if the conditional distribution of the numeric field with the highest z-probability based on matches the actual class, the event is counted as accurate. The highest z-probablility is based on the
You can use the abbreviation
af for the
analyzefields command returns a table with five columns.
||The name of a numeric field from the input search results.|
||The number of occurrences of the field in the search results.|
||The co-occurrence of the field. In the results where |
||The accuracy in predicting the value of the |
||The balanced accuracy is the non-weighted average of the accuracies in predicted each value of the |
- Syntax: classfield=<field>
- Description: For best results,
classfieldshould have two distinct values, although multiclass analysis is possible.
Analyze the numerical fields to predict the value of "is_activated".
... | analyzefields classfield=is_activated
This documentation applies to the following versions of Splunk Cloud™: 7.0.13, 7.2.4, 7.2.6, 7.2.7, 7.2.8, 7.2.9, 7.2.10, 8.0.2006, 8.0.2007, 8.1.2008, 8.1.2009, 8.1.2011, 8.1.2012, 8.1.2101