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!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...