Dashboards & Visualizations

How do you move duplicate rows in a table?

rohanmiskin
Explorer

I do my search and use the table keyword to get the results and the fields in a table

The table i get is like this

field1|field2|field3|field4
1     |2     |3     |4
1     |2     |3     |4
1     |2     |3     |4
1     |2     |3     |4
5     |6     |7     |8   
5     |6     |7     |8
5     |6     |7     |8
5     |6     |7     |8

The result i want is

field1|field2|field3|field4
1     |2     |3     |4
5     |6     |7     |8

my search query is
mySearchCriteria | table field1,field2,field3,field4

0 Karma
1 Solution

AKG1_old1
Builder

Use dedup:

mySearchCriteria | table field1,field2,field3,field4 | dedup field1,field2,field3,field4

View solution in original post

0 Karma

AKG1_old1
Builder

Use dedup:

mySearchCriteria | table field1,field2,field3,field4 | dedup field1,field2,field3,field4

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...