Quantcast
Channel: Latest Questions on Splunk Answers
Viewing all articles
Browse latest Browse all 13053

How to remove duplicate column values in table?

$
0
0

I have a table that contains several columns. The table looks something like this:

timestamp,region,product_number,status,count time1,americas,12345,done,5 time2,americas,23456,fail,4 time3,emea,34567,done,3 time4,emea,56789,fail,1 time5,emea,56789,done,2

I would like to reformat it to remove the column values that are duplicated:

timestamp,region,product_number,status,count
time1,americas,12345,done,5
time2,        ,23456,fail,4
time3,emea,34567,done,3
time4,    ,56789,fail,1
time5,    ,     ,done,2

Viewing all articles
Browse latest Browse all 13053

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>