Splunk Search

How to remove duplicates rows based on all fields, not just one field, and display the unique rows?

LearningGuy
Motivator

how to remove duplicates rows based on all fields, not just one field, and display the unique rows?
Let say there are 10 fields, when I used | dedup 10 field1, field2, ..  field 10,  the result missed some unique rows

Please help. Thank you

0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

The 10 means keep 10 occurrences of the "unique" fields - try 

| dedup field1 field2 ... field10

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust

The 10 means keep 10 occurrences of the "unique" fields - try 

| dedup field1 field2 ... field10

isoutamo
SplunkTrust
SplunkTrust
Hi
You could do “dedup _raw”
r. Ismo
Get Updates on the Splunk Community!

How to send events & findings from AWS to Splunk using Amazon EventBridge

Amazon EventBridge is a serverless service that uses events to connect application components together, making ...

Exciting News: The AppDynamics Community Joins Splunk!

Hello Splunkers,   I’d like to introduce myself—I’m Ryan, the former AppDynamics Community Manager, and I’m ...

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...