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!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...