<?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: Tranpose Column and Row Headings in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Tranpose-Column-and-Row-Headings/m-p/263412#M79080</link>
    <description>&lt;P&gt;Hi, have you tried&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| transpose header_field="column A"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For instance:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/apps/local 
| search disabled=0 
| table label, title, eai:acl.perms.read, eai:acl.perms.write, version
| rename label as "App Name", title as "App Folder", eai:acl.perms.read as "Read Access", eai:acl:perms.write as "Write Access", version as "Version"
| sort +"App Name"
| transpose header_field="App Name"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;EDIT (version 2):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/apps/local 
| search disabled=0 
| table label, title, eai:acl.perms.read, eai:acl.perms.write, version
| rename label as "App Name", title as "App Folder", eai:acl.perms.read as "Read Access", eai:acl:perms.write as "Write Access", version as "Version"
| sort +"App Name"
| transpose 0 header_field="App Name" include_empty=false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 29 Mar 2016 12:07:15 GMT</pubDate>
    <dc:creator>javiergn</dc:creator>
    <dc:date>2016-03-29T12:07:15Z</dc:date>
    <item>
      <title>Tranpose Column and Row Headings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Tranpose-Column-and-Row-Headings/m-p/263411#M79079</link>
      <description>&lt;P&gt;Hi, I wonder whether someone may be able to help me please.&lt;/P&gt;

&lt;P&gt;I'm trying to compare the apps set up in my four environments i.e DEV, QA, Staging and PROD.&lt;/P&gt;

&lt;P&gt;So for each environment I have written the following query which I will then extract into Excel to compare:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/apps/local | search disabled=0 | table label, title, eai:acl.perms.read, eai:acl.perms.write, version
|rename label as "App Name", title as "App Folder", eai:acl.perms.read as "Read Access", eai:acl:perms.write as "Write Access", version as "Version"
|sort +"App Name"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The query works fine, but I'm trying to transpose the table so, that the values in column "A" become he column headers, and the column headers become the row titles.&lt;/P&gt;

&lt;P&gt;I've tried using "transpose", "chart over", and "xy series", but I just can't seem to get this to work.&lt;/P&gt;

&lt;P&gt;I just wondered whether someone could possibly look at this please and offer some guidance on how I may achieve this.&lt;/P&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 11:32:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Tranpose-Column-and-Row-Headings/m-p/263411#M79079</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2016-03-29T11:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Tranpose Column and Row Headings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Tranpose-Column-and-Row-Headings/m-p/263412#M79080</link>
      <description>&lt;P&gt;Hi, have you tried&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| transpose header_field="column A"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For instance:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/apps/local 
| search disabled=0 
| table label, title, eai:acl.perms.read, eai:acl.perms.write, version
| rename label as "App Name", title as "App Folder", eai:acl.perms.read as "Read Access", eai:acl:perms.write as "Write Access", version as "Version"
| sort +"App Name"
| transpose header_field="App Name"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;EDIT (version 2):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/apps/local 
| search disabled=0 
| table label, title, eai:acl.perms.read, eai:acl.perms.write, version
| rename label as "App Name", title as "App Folder", eai:acl.perms.read as "Read Access", eai:acl:perms.write as "Write Access", version as "Version"
| sort +"App Name"
| transpose 0 header_field="App Name" include_empty=false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Mar 2016 12:07:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Tranpose-Column-and-Row-Headings/m-p/263412#M79080</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-03-29T12:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Tranpose Column and Row Headings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Tranpose-Column-and-Row-Headings/m-p/263413#M79081</link>
      <description>&lt;P&gt;Hi, thank you for coming back to me with this.&lt;/P&gt;

&lt;P&gt;Yes I have already tried your suggestion, but the problem I have is that it only creates column headings for the first three values from what would have been the values in column A.&lt;/P&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 12:41:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Tranpose-Column-and-Row-Headings/m-p/263413#M79081</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2016-03-29T12:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Tranpose Column and Row Headings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Tranpose-Column-and-Row-Headings/m-p/263414#M79082</link>
      <description>&lt;P&gt;What about this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/apps/local 
| search disabled=0 
| table label, title, eai:acl.perms.read, eai:acl.perms.write, version
| rename label as "App Name", title as "App Folder", eai:acl.perms.read as "Read Access", eai:acl:perms.write as "Write Access", version as "Version"
| sort +"App Name"
| transpose 0 header_field="App Name" include_empty=false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Mar 2016 13:17:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Tranpose-Column-and-Row-Headings/m-p/263414#M79082</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-03-29T13:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Tranpose Column and Row Headings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Tranpose-Column-and-Row-Headings/m-p/263415#M79083</link>
      <description>&lt;P&gt;HI, thank you for coming back to me with this.&lt;/P&gt;

&lt;P&gt;Your "version2" works great.&lt;/P&gt;

&lt;P&gt;Kind Regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 13:29:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Tranpose-Column-and-Row-Headings/m-p/263415#M79083</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2016-03-29T13:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Tranpose Column and Row Headings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Tranpose-Column-and-Row-Headings/m-p/263416#M79084</link>
      <description>&lt;P&gt;Neither one of these works for me on v6.2.3.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 14:34:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Tranpose-Column-and-Row-Headings/m-p/263416#M79084</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-03-29T14:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Tranpose Column and Row Headings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Tranpose-Column-and-Row-Headings/m-p/263417#M79085</link>
      <description>&lt;P&gt;Emm strange, works fine on 6.3.3&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 14:37:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Tranpose-Column-and-Row-Headings/m-p/263417#M79085</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2016-03-29T14:37:14Z</dc:date>
    </item>
  </channel>
</rss>

