<?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 to convert values in a table column to column headers? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-values-in-a-table-column-to-column-headers/m-p/219312#M64455</link>
    <description>&lt;P&gt;Something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | sort "0-24hr"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Make sure to get the column name correct, including case sensitivity.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Feb 2016 19:57:53 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2016-02-25T19:57:53Z</dc:date>
    <item>
      <title>How to convert values in a table column to column headers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-values-in-a-table-column-to-column-headers/m-p/219309#M64452</link>
      <description>&lt;P&gt;I have a stats table like this&lt;/P&gt;

&lt;P&gt;Header1......Error....Count&lt;BR /&gt;
0-24hr..........1a..........1&lt;BR /&gt;
0-24hr..........2a..........2&lt;BR /&gt;
0-24hr..........3a..........3&lt;BR /&gt;
24-48hr........1a..........4 &lt;BR /&gt;
24-48hr........2a..........5&lt;BR /&gt;
24-48hr........3a..........6&lt;/P&gt;

&lt;P&gt;and I'd like to transform it into a table like this and I'd like to sort it by one of the columns (for example 0-24hr column)&lt;/P&gt;

&lt;P&gt;Error 0-24hr 24-48hr&lt;BR /&gt;
1a..........1..........4&lt;BR /&gt;
2a..........2..........5&lt;BR /&gt;
3a..........3..........6&lt;/P&gt;

&lt;P&gt;How would I do that? thank you very much&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 19:04:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-values-in-a-table-column-to-column-headers/m-p/219309#M64452</guid>
      <dc:creator>trunghung</dc:creator>
      <dc:date>2016-02-25T19:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert values in a table column to column headers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-values-in-a-table-column-to-column-headers/m-p/219310#M64453</link>
      <description>&lt;P&gt;Append this to your search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | xyseries Error Header1 Count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Feb 2016 19:23:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-values-in-a-table-column-to-column-headers/m-p/219310#M64453</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-02-25T19:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert values in a table column to column headers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-values-in-a-table-column-to-column-headers/m-p/219311#M64454</link>
      <description>&lt;P&gt;Hi Martin,&lt;/P&gt;

&lt;P&gt;that works.  how do I sort the table by the 0-24hr column? thanks&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 19:43:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-values-in-a-table-column-to-column-headers/m-p/219311#M64454</guid>
      <dc:creator>trunghung</dc:creator>
      <dc:date>2016-02-25T19:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert values in a table column to column headers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-values-in-a-table-column-to-column-headers/m-p/219312#M64455</link>
      <description>&lt;P&gt;Something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | sort "0-24hr"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Make sure to get the column name correct, including case sensitivity.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 19:57:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-values-in-a-table-column-to-column-headers/m-p/219312#M64455</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-02-25T19:57:53Z</dc:date>
    </item>
  </channel>
</rss>

