<?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: Transpose table and group by values of other column in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-Transpose-table-and-group-by-values-of-other-column/m-p/601715#M209424</link>
    <description>&lt;P&gt;Working! thanks&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jun 2022 11:17:47 GMT</pubDate>
    <dc:creator>yifatcy</dc:creator>
    <dc:date>2022-06-14T11:17:47Z</dc:date>
    <item>
      <title>How to Transpose table and group by values of other column?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Transpose-table-and-group-by-values-of-other-column/m-p/601701#M209417</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Say I have this table:&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;Name&lt;/TD&gt;
&lt;TD&gt;Date&lt;/TD&gt;
&lt;TD&gt;Flows&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="40px" height="25px"&gt;a&lt;/TD&gt;
&lt;TD width="166.046875px" height="25px"&gt;2022-06-13 23:01:26&lt;/TD&gt;
&lt;TD width="40px" height="25px"&gt;200&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="40px" height="25px"&gt;a&lt;/TD&gt;
&lt;TD width="166.046875px" height="25px"&gt;2022-06-13 10:01:26&lt;/TD&gt;
&lt;TD width="40px" height="25px"&gt;301&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="40px" height="25px"&gt;b&lt;/TD&gt;
&lt;TD width="166.046875px" height="25px"&gt;2022-06-13 23:01:26&lt;/TD&gt;
&lt;TD width="40px" height="25px"&gt;504&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="40px" height="25px"&gt;b&lt;/TD&gt;
&lt;TD width="166.046875px" height="25px"&gt;2022-06-13 10:01:26&lt;/TD&gt;
&lt;TD width="40px" height="25px"&gt;454&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to create a table that's using the values of "Date" column as a new columns, and grouping all the identical "Name" values into one line as follows (where the values are "Flows"):&lt;/P&gt;
&lt;TABLE width="203px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="53.484375px"&gt;Name&lt;/TD&gt;
&lt;TD width="74.8125px"&gt;2022-06-13 23:01:26&lt;/TD&gt;
&lt;TD width="74.8125px"&gt;2022-06-13 10:01:26&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="53.484375px" height="25px"&gt;a&lt;/TD&gt;
&lt;TD width="74.8125px" height="25px"&gt;200&lt;/TD&gt;
&lt;TD width="74.8125px" height="25px"&gt;301&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="53.484375px" height="25px"&gt;b&lt;/TD&gt;
&lt;TD width="74.8125px" height="25px"&gt;504&lt;/TD&gt;
&lt;TD width="74.8125px" height="25px"&gt;454&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried several approaches but failed. Could you assist?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 16:57:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Transpose-table-and-group-by-values-of-other-column/m-p/601701#M209417</guid>
      <dc:creator>yifatcy</dc:creator>
      <dc:date>2022-06-14T16:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose table and group by values of other column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Transpose-table-and-group-by-values-of-other-column/m-p/601714#M209423</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224132"&gt;@yifatcy&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you should try the chart command (&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.6/SearchReference/Chart" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.6/SearchReference/Chart&lt;/A&gt;) having something like the following:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=your_index
| chart values(Flow) AS Flow OVER Name BY Date&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 11:13:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Transpose-table-and-group-by-values-of-other-column/m-p/601714#M209423</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-06-14T11:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose table and group by values of other column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Transpose-table-and-group-by-values-of-other-column/m-p/601715#M209424</link>
      <description>&lt;P&gt;Working! thanks&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 11:17:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Transpose-table-and-group-by-values-of-other-column/m-p/601715#M209424</guid>
      <dc:creator>yifatcy</dc:creator>
      <dc:date>2022-06-14T11:17:47Z</dc:date>
    </item>
  </channel>
</rss>

