<?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 and Group By? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Transpose-and-Group-By/m-p/427647#M122436</link>
    <description>&lt;P&gt;@SudeepDell, please accept the answer to mark this question as answered!&lt;/P&gt;</description>
    <pubDate>Sun, 08 Jul 2018 13:31:11 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2018-07-08T13:31:11Z</dc:date>
    <item>
      <title>Transpose and Group By?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transpose-and-Group-By/m-p/427644#M122433</link>
      <description>&lt;P&gt;I am currently trying to format the amount of memory used by each node during a given time in a way that I could create an area graph from the results. Right now I have these three columns:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=main sourcetype=source
| table _time memory node_name
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But I want the columns to be _time, node_name1, node_name2, ...&lt;BR /&gt;
and the rows to contain the time and the related memory usage that goes along with the node_name.&lt;/P&gt;

&lt;H2&gt;How can I group the rows by time and separate the memory data for each of the nodes?&lt;/H2&gt;

&lt;P&gt;Results should look similar to this:&lt;/P&gt;

&lt;P&gt;time, node1, node2, node3, ...&lt;BR /&gt;
6/28, 10000, 20000, 16000, ...&lt;BR /&gt;
6/29, 15000, 24000, 12500, ...&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:20:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transpose-and-Group-By/m-p/427644#M122433</guid>
      <dc:creator>SudeepDell</dc:creator>
      <dc:date>2020-09-29T20:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose and Group By?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transpose-and-Group-By/m-p/427645#M122434</link>
      <description>&lt;P&gt;@SudeepDell you can try the following.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=main sourcetype=source
 | timechart span=1d  max(memory) as Memory by node_name
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Jul 2018 10:51:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transpose-and-Group-By/m-p/427645#M122434</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-07-06T10:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose and Group By?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transpose-and-Group-By/m-p/427646#M122435</link>
      <description>&lt;P&gt;that worked, thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 16:37:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transpose-and-Group-By/m-p/427646#M122435</guid>
      <dc:creator>SudeepDell</dc:creator>
      <dc:date>2018-07-06T16:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose and Group By?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transpose-and-Group-By/m-p/427647#M122436</link>
      <description>&lt;P&gt;@SudeepDell, please accept the answer to mark this question as answered!&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jul 2018 13:31:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transpose-and-Group-By/m-p/427647#M122436</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-07-08T13:31:11Z</dc:date>
    </item>
  </channel>
</rss>

