<?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 How do I use the transpose command header_field argument to reformat my table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-transpose-command-header-field-argument-to/m-p/206828#M60260</link>
    <description>&lt;P&gt;I have a table from a timechart like this :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Month         LE11         LE12          LE41
January       1680         5218          1241
February      3949         3427          2850
March         3548         1307          6016
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My goal is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;          January       February       March          
LE11      1680          3949           3548           
LE12      5218          3427           1307            
LE41      1241          2850           6016
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I actually use a trick with rename to obtain correct columns names, but I think it makes my search longer (got 12 columns). I read on Splunk docs, there is a header_field option, but it seems like it doesn't work. I don't really understand how this option works.&lt;/P&gt;

&lt;P&gt;Forgive my poor English, thanx a lot.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Dec 2015 10:45:08 GMT</pubDate>
    <dc:creator>splk_clheureux</dc:creator>
    <dc:date>2015-12-22T10:45:08Z</dc:date>
    <item>
      <title>How do I use the transpose command header_field argument to reformat my table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-transpose-command-header-field-argument-to/m-p/206828#M60260</link>
      <description>&lt;P&gt;I have a table from a timechart like this :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Month         LE11         LE12          LE41
January       1680         5218          1241
February      3949         3427          2850
March         3548         1307          6016
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My goal is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;          January       February       March          
LE11      1680          3949           3548           
LE12      5218          3427           1307            
LE41      1241          2850           6016
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I actually use a trick with rename to obtain correct columns names, but I think it makes my search longer (got 12 columns). I read on Splunk docs, there is a header_field option, but it seems like it doesn't work. I don't really understand how this option works.&lt;/P&gt;

&lt;P&gt;Forgive my poor English, thanx a lot.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2015 10:45:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-transpose-command-header-field-argument-to/m-p/206828#M60260</guid>
      <dc:creator>splk_clheureux</dc:creator>
      <dc:date>2015-12-22T10:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use the transpose command header_field argument to reformat my table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-transpose-command-header-field-argument-to/m-p/206829#M60261</link>
      <description>&lt;P&gt;Hi splk_clheureux,&lt;/P&gt;

&lt;P&gt;The header_field option is actually meant to specify which field you would like to make your header field. For example, you are transposing your table such that the months are now the headers (or column names), when they were previously LE11, LE12, etc..&lt;/P&gt;

&lt;P&gt;However, there may be a way to rename earlier in your search string. This depends on which commands you are using. Hope this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2015 23:13:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-transpose-command-header-field-argument-to/m-p/206829#M60261</guid>
      <dc:creator>jluo_splunk</dc:creator>
      <dc:date>2015-12-23T23:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use the transpose command header_field argument to reformat my table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-transpose-command-header-field-argument-to/m-p/206830#M60262</link>
      <description>&lt;P&gt;Have you looked at &lt;CODE&gt;untable&lt;/CODE&gt; and &lt;CODE&gt;xyseries&lt;/CODE&gt; commands. You can achieve what you are looking for with these two commands&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2015 00:30:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-transpose-command-header-field-argument-to/m-p/206830#M60262</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2015-12-24T00:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use the transpose command header_field argument to reformat my table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-transpose-command-header-field-argument-to/m-p/206831#M60263</link>
      <description>&lt;P&gt;Thank you but I tried these two commands and the problem is that they do not show the columns with values 0 or empty&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2015 08:29:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-transpose-command-header-field-argument-to/m-p/206831#M60263</guid>
      <dc:creator>splk_clheureux</dc:creator>
      <dc:date>2015-12-28T08:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use the transpose command header_field argument to reformat my table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-transpose-command-header-field-argument-to/m-p/206832#M60264</link>
      <description>&lt;P&gt;Thank you for answer, I tried to use this option by setting header field=month but it doesn't work. &lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2015 08:34:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-transpose-command-header-field-argument-to/m-p/206832#M60264</guid>
      <dc:creator>splk_clheureux</dc:creator>
      <dc:date>2015-12-28T08:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use the transpose command header_field argument to reformat my table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-transpose-command-header-field-argument-to/m-p/206833#M60265</link>
      <description>&lt;P&gt;this link can help you  Mr  splk_clheureux &lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/241080/how-to-rotate-a-table-using-transpose-remove-the-f.html"&gt;https://answers.splunk.com/answers/241080/how-to-rotate-a-table-using-transpose-remove-the-f.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2015 09:34:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-transpose-command-header-field-argument-to/m-p/206833#M60265</guid>
      <dc:creator>fdi01</dc:creator>
      <dc:date>2015-12-28T09:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use the transpose command header_field argument to reformat my table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-transpose-command-header-field-argument-to/m-p/206834#M60266</link>
      <description>&lt;P&gt;This is work. Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2015 10:42:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-use-the-transpose-command-header-field-argument-to/m-p/206834#M60266</guid>
      <dc:creator>splk_clheureux</dc:creator>
      <dc:date>2015-12-28T10:42:38Z</dc:date>
    </item>
  </channel>
</rss>

