<?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 Re: How do you display multiple column headers on a table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/504043#M140718</link>
    <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried doing the same, but unable to do so, can someone provide a guided approach.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110"&gt;@niketn&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/186006"&gt;@nplamondon&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/199197"&gt;@jkat54&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/184221"&gt;@to4kawa&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/172708"&gt;@martin_mueller&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jun 2020 03:58:48 GMT</pubDate>
    <dc:creator>ayush1906</dc:creator>
    <dc:date>2020-06-12T03:58:48Z</dc:date>
    <item>
      <title>How do you display multiple column headers on a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/457762#M129278</link>
      <description>&lt;P&gt;hello everyone&lt;/P&gt;

&lt;P&gt;I'd like to display multiple column headers on the table like the below image.&lt;/P&gt;

&lt;P&gt;I can create the table, but the problem is the column headers.&lt;/P&gt;

&lt;P&gt;It doesn't matter what color they are.&lt;/P&gt;

&lt;P&gt;I'd like to make just two rows as a column header. And, I'd like to make three groups on the first column header row.&lt;/P&gt;

&lt;P&gt;Please refer to attached image.&lt;/P&gt;

&lt;P&gt;I'm waiting for your information.&lt;/P&gt;

&lt;P&gt;Thank you in advance.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5769i6D6AA7E9D3494D3A/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 09:46:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/457762#M129278</guid>
      <dc:creator>jenny_life</dc:creator>
      <dc:date>2018-09-14T09:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do you display multiple column headers on a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/457763#M129279</link>
      <description>&lt;P&gt;I am pretty sure this is not possible in splunk.  You can try looking on splunkbase to see if someone has made a table app that can do something like that, but I don't believe that is do-able out of the box.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 21:37:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/457763#M129279</guid>
      <dc:creator>DEAD_BEEF</dc:creator>
      <dc:date>2018-09-14T21:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do you display multiple column headers on a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/457764#M129280</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;This may help you, add row on top of the actual resultset row in your dashboard and span into 3 columns&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;&amp;lt;row&amp;gt;&amp;lt;html&amp;gt;&amp;lt;div&amp;gt;&amp;lt;span&amp;gt;Group1&amp;lt;/span&amp;gt;Group2&amp;lt;span&amp;gt;Group3&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/html&amp;gt;&amp;lt;/row&amp;gt;&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Use html width property to span your Group1,2,3&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Mugunth&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 09:09:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/457764#M129280</guid>
      <dc:creator>muguniya</dc:creator>
      <dc:date>2018-10-05T09:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do you display multiple column headers on a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/503888#M140672</link>
      <description>&lt;P&gt;+1&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 09:36:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/503888#M140672</guid>
      <dc:creator>ayush1906</dc:creator>
      <dc:date>2020-06-11T09:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do you display multiple column headers on a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/504043#M140718</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried doing the same, but unable to do so, can someone provide a guided approach.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110"&gt;@niketn&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/186006"&gt;@nplamondon&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/199197"&gt;@jkat54&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/184221"&gt;@to4kawa&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/172708"&gt;@martin_mueller&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 03:58:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/504043#M140718</guid>
      <dc:creator>ayush1906</dc:creator>
      <dc:date>2020-06-12T03:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do you display multiple column headers on a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/504105#M140730</link>
      <description>&lt;P&gt;Why not label your columns A1,A2,A3,A4,B1,B2,B3&amp;amp;B4&lt;/P&gt;&lt;P&gt;if someone must have double column headers, show them excel&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 09:55:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/504105#M140730</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-06-12T09:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do you display multiple column headers on a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/504108#M140731</link>
      <description>&lt;P&gt;in my case, there is a table with 25 columns, I have frozen the first two columns using CSS, and used legends color codes to distinguish data. But, as we keep on adding columns need to define a common group for them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's Say for example :&lt;/P&gt;&lt;P&gt;column A1,B1,C1&amp;nbsp; denote geographic details.&lt;/P&gt;&lt;P&gt;column D1.E1,F1 denotes the stats for Income (mean, median,mode)&lt;/P&gt;&lt;P&gt;column G1,H1 depicts the population ( 5 years ago, present)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;all these require a common header.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am open to showing these headers as separate panels and link both the tables.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 10:11:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/504108#M140731</guid>
      <dc:creator>ayush1906</dc:creator>
      <dc:date>2020-06-12T10:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do you display multiple column headers on a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/504116#M140733</link>
      <description>&lt;P&gt;sample:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal sourcetype=splunkd*
| bin span=1h _time
| stats count by _time source sourcetype
| eval source_sourcetype=sourcetype.": ".source
| xyseries _time source_sourcetype count&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why don't you try &lt;STRONG&gt;xyseries&lt;/STRONG&gt;&amp;nbsp;?&lt;BR /&gt;&lt;BR /&gt;sample2:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| eval _raw=split("abcdefgh","")
| stats count by _raw
| streamstats count as session
| streamstats list(session) as count
| mvexpand count
| sort _raw - count
| stats list(count) as session by _raw
| fillnull a b c d e f g h
| eval tmp=split("abcdefgh","")
| foreach a b c d e f g h [ eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; = mvindex(session, mvfind(tmp,"&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;"))]
| fields - _raw tmp session&lt;/LI-CODE&gt;&lt;P&gt;How else was I going to calculate the rest?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 11:23:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/504116#M140733</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-06-12T11:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do you display multiple column headers on a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/504122#M140735</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ayush1906_0-1591960351694.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9165iE4A3FFCE94CA6089/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ayush1906_0-1591960351694.png" alt="ayush1906_0-1591960351694.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My table cannot have big headers, that's why I didn't use xyseries.&lt;/P&gt;&lt;P&gt;Colors, for now, are doing the work of distinguishing&amp;nbsp;&lt;/P&gt;&lt;P&gt;Moreover, I was thinking of adding another bar on top, but splunk's internal js and css are not allowing my table to go beyond 100% of the page, hence I cannot expand my other table to cover all the columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Total Columns as of now 25. out of which Market and the market unit is frozen.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 11:16:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/504122#M140735</guid>
      <dc:creator>ayush1906</dc:creator>
      <dc:date>2020-06-12T11:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do you display multiple column headers on a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/504183#M140749</link>
      <description>&lt;P&gt;I like the colors approach!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 15:22:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/504183#M140749</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-06-12T15:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do you display multiple column headers on a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/504605#M140915</link>
      <description>&lt;P&gt;When you want to Group Columns in a table together, do you have fixed no. of fields for each group? If not what is the logic for grouping? Can the logic be handled in code (SPL or JS)?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 13:24:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/504605#M140915</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-06-16T13:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do you display multiple column headers on a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/545659#M154611</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110"&gt;@niketn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm also looking for the similar requirement like in the below screenshot, I've to show counts for total and escalations. Please let me know if it is possible in Splunk with header and a sub-header. TIA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bnikhil0584_0-1616791300353.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13512iC7939DA7A08E0A58/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bnikhil0584_0-1616791300353.png" alt="bnikhil0584_0-1616791300353.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 20:43:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-multiple-column-headers-on-a-table/m-p/545659#M154611</guid>
      <dc:creator>bnikhil0584</dc:creator>
      <dc:date>2021-03-26T20:43:52Z</dc:date>
    </item>
  </channel>
</rss>

