Splunk Search

When using outlier does it remove the entire log entry?

caffein
Path Finder

When using the outlier function will it remove the whole log entry from the set of values to process, or does it just remove individual values from their respective fields. For instance:

[rest of search]|outlier action=rm cnt

foo  bar  cnt 
1    10   5
2    15   6
1    10   100

                          avg(foo) avg(bar) avg(cnt)
All log #3 removed:       1.5      12.5     5.5
Just cnt outlier removed: 1.33     11.66    5.5
Tags (1)
0 Karma
1 Solution

sdaniels
Splunk Employee
Splunk Employee

When using the remove action (action=rm as you have above) it will remove the entire event containing the outlier value.

View solution in original post

sdaniels
Splunk Employee
Splunk Employee

When using the remove action (action=rm as you have above) it will remove the entire event containing the outlier value.

caffein
Path Finder

Perfect, thanks.

0 Karma
Get Updates on the Splunk Community!

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...

Join Us at the Builder Bar at .conf24 – Empowering Innovation and Collaboration

What is the Builder Bar? The Builder Bar is more than just a place; it's a hub of creativity, collaboration, ...

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...