<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Remove duplicate columns - column which have single unique value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Remove-duplicate-columns-column-which-have-single-unique-value/m-p/675798#M231189</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to get rid of columns which have single unique value. There could be multiple columns showing this behavior.&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%" height="24px"&gt;Test&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;Value1&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;Value2&lt;/TD&gt;&lt;TD width="12.5%" height="24px"&gt;Value3&lt;/TD&gt;&lt;TD width="12.5%"&gt;Value4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="24px"&gt;Test1&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;2&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;b&lt;/TD&gt;&lt;TD width="12.5%" height="24px"&gt;a&lt;/TD&gt;&lt;TD width="12.5%"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="24px"&gt;Test2&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;1&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;c&lt;/TD&gt;&lt;TD width="12.5%" height="24px"&gt;a&lt;/TD&gt;&lt;TD width="12.5%"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to get rid of columns "Value3" and "Value4"&amp;nbsp;since they have only one unique value across.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061"&gt;@scelikok&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jan 2024 17:15:03 GMT</pubDate>
    <dc:creator>bhavesh0124</dc:creator>
    <dc:date>2024-01-29T17:15:03Z</dc:date>
    <item>
      <title>Remove duplicate columns - column which have single unique value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Remove-duplicate-columns-column-which-have-single-unique-value/m-p/675798#M231189</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to get rid of columns which have single unique value. There could be multiple columns showing this behavior.&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%" height="24px"&gt;Test&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;Value1&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;Value2&lt;/TD&gt;&lt;TD width="12.5%" height="24px"&gt;Value3&lt;/TD&gt;&lt;TD width="12.5%"&gt;Value4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="24px"&gt;Test1&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;2&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;b&lt;/TD&gt;&lt;TD width="12.5%" height="24px"&gt;a&lt;/TD&gt;&lt;TD width="12.5%"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="24px"&gt;Test2&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;1&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;c&lt;/TD&gt;&lt;TD width="12.5%" height="24px"&gt;a&lt;/TD&gt;&lt;TD width="12.5%"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to get rid of columns "Value3" and "Value4"&amp;nbsp;since they have only one unique value across.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061"&gt;@scelikok&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 17:15:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Remove-duplicate-columns-column-which-have-single-unique-value/m-p/675798#M231189</guid>
      <dc:creator>bhavesh0124</dc:creator>
      <dc:date>2024-01-29T17:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Remove duplicate columns - column which have single unique value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Remove-duplicate-columns-column-which-have-single-unique-value/m-p/675804#M231192</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/259886"&gt;@bhavesh0124&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;sorry bu it isn't possible: Splunk isn't Excel in which you can collapse two cells in one.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 17:31:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Remove-duplicate-columns-column-which-have-single-unique-value/m-p/675804#M231192</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-01-29T17:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Remove duplicate columns - column which have single unique value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Remove-duplicate-columns-column-which-have-single-unique-value/m-p/675808#M231194</link>
      <description>&lt;P&gt;Depending on the size of your data set, you could try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| appendpipe
    [| stats values(*) as *
    | eval Test="ALL"]
| transpose 0 column_name=name header_field=Test
| where mvcount(ALL) &amp;gt; 1
| fields - ALL
| transpose 0 column_name=Test header_field=name&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 29 Jan 2024 17:45:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Remove-duplicate-columns-column-which-have-single-unique-value/m-p/675808#M231194</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-01-29T17:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Remove duplicate columns - column which have single unique value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Remove-duplicate-columns-column-which-have-single-unique-value/m-p/675821#M231202</link>
      <description>&lt;P&gt;Works perfectly, thanks&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 19:51:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Remove-duplicate-columns-column-which-have-single-unique-value/m-p/675821#M231202</guid>
      <dc:creator>bhavesh0124</dc:creator>
      <dc:date>2024-01-29T19:51:15Z</dc:date>
    </item>
  </channel>
</rss>

