<?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 question in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Transpose-question/m-p/660123#M9760</link>
    <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/252037"&gt;@emilep&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;what's the resul without transpose?&lt;/P&gt;&lt;P&gt;did you read the command description at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.1/SearchReference/Transpose" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.1.1/SearchReference/Transpose&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;&lt;P&gt;in addition, there's this useful link&amp;nbsp;&lt;A href="https://www.splunk.com/en_us/blog/customers/splunk-clara-fication-transpose-xyseries-untable-and-more.html#:~:text=Right%20out%20of%20the%20gate,order%20to%20improve%20your%20visualizations" target="_blank"&gt;https://www.splunk.com/en_us/blog/customers/splunk-clara-fication-transpose-xyseries-untable-and-more.html#:~:text=Right%20out%20of%20the%20gate,order%20to%20improve%20your%20visualizations&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Mon, 09 Oct 2023 08:39:02 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2023-10-09T08:39:02Z</dc:date>
    <item>
      <title>Transpose question</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Transpose-question/m-p/660122#M9759</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a query like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=federated:ccs_rmail sourcetype="rmail:KIC:reports"
| dedup _time
| timechart span=1mon sum(cisco_*) as cisco_*
| addtotals
| eval rep_perc = round(cisco_stoppedbyreputation/Total*100,2),
spam_perc =round(cisco_spam/Total*100,2),
virus_perc=round(cisco_virus/Total*100,6)
| table cisco_stoppedbyreputation,rep_perc,cisco_spam,spam_perc,cisco_virus,virus_perc
| rename cisco_spam as spam, cisco_virus as virus,cisco_stoppedbyreputation as reputation
| transpose&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;The result look like:&lt;/P&gt;
&lt;TABLE width="159"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="95"&gt;
&lt;P&gt;column&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="64"&gt;
&lt;P&gt;row 1&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="95"&gt;reputation&lt;/TD&gt;
&lt;TD width="64"&gt;740284221&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="95"&gt;rep_perc&lt;/TD&gt;
&lt;TD width="64"&gt;82.46&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="95"&gt;spam&lt;/TD&gt;
&lt;TD width="64"&gt;9695175&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="95"&gt;spam_perc&lt;/TD&gt;
&lt;TD width="64"&gt;1.08&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="95"&gt;virus&lt;/TD&gt;
&lt;TD width="64"&gt;700&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="95"&gt;virus_perc&lt;/TD&gt;
&lt;TD width="64"&gt;0.000078&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;Is it possible to have something like this?&lt;/P&gt;
&lt;TABLE width="223"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="95"&gt;Name&lt;/TD&gt;
&lt;TD width="64"&gt;#&lt;/TD&gt;
&lt;TD width="64"&gt;%&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="95"&gt;reputation&lt;/TD&gt;
&lt;TD width="64"&gt;740284221&lt;/TD&gt;
&lt;TD width="64"&gt;82.46&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="95"&gt;spam&lt;/TD&gt;
&lt;TD width="64"&gt;9695175&lt;/TD&gt;
&lt;TD width="64"&gt;1.08&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="95"&gt;virus&lt;/TD&gt;
&lt;TD width="64"&gt;700&lt;/TD&gt;
&lt;TD width="64"&gt;0.000078&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Emile&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 12:05:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Transpose-question/m-p/660122#M9759</guid>
      <dc:creator>emilep</dc:creator>
      <dc:date>2023-10-09T12:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose question</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Transpose-question/m-p/660123#M9760</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/252037"&gt;@emilep&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;what's the resul without transpose?&lt;/P&gt;&lt;P&gt;did you read the command description at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.1/SearchReference/Transpose" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.1.1/SearchReference/Transpose&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;&lt;P&gt;in addition, there's this useful link&amp;nbsp;&lt;A href="https://www.splunk.com/en_us/blog/customers/splunk-clara-fication-transpose-xyseries-untable-and-more.html#:~:text=Right%20out%20of%20the%20gate,order%20to%20improve%20your%20visualizations" target="_blank"&gt;https://www.splunk.com/en_us/blog/customers/splunk-clara-fication-transpose-xyseries-untable-and-more.html#:~:text=Right%20out%20of%20the%20gate,order%20to%20improve%20your%20visualizations&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 08:39:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Transpose-question/m-p/660123#M9760</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-10-09T08:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose question</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Transpose-question/m-p/660124#M9761</link>
      <description>&lt;P&gt;The result without the transpose looks like:&lt;/P&gt;&lt;TABLE width="415"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="95"&gt;&lt;P&gt;reputation&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;rep_perc&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;spam&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;spam_perc&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;virus&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;virus_perc&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="95"&gt;740284221&lt;/TD&gt;&lt;TD width="64"&gt;82.46&lt;/TD&gt;&lt;TD width="64"&gt;9695175&lt;/TD&gt;&lt;TD width="64"&gt;1.08&lt;/TD&gt;&lt;TD width="64"&gt;700&lt;/TD&gt;&lt;TD width="64"&gt;0.000078&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I would like to include this table in a glass table, but as it is formatted here it taking to much place.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 09:16:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Transpose-question/m-p/660124#M9761</guid>
      <dc:creator>emilep</dc:creator>
      <dc:date>2023-10-09T09:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose question</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Transpose-question/m-p/660126#M9762</link>
      <description>&lt;LI-CODE lang="markup"&gt;| timechart span=1mon sum(cisco_*) as cisco_*
| rename cisco_* as *
| rename stoppedbyreputation as reputation
| untable _time name count
| fields - _time
| eventstats sum(count) as total
| eval percentage=round(100*count/total,2)
| fields - total&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 09 Oct 2023 09:57:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Transpose-question/m-p/660126#M9762</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-10-09T09:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose question</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Transpose-question/m-p/660134#M9763</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Here it seems that transpose was not the good approach.&lt;BR /&gt;Your solution is working as expected.&lt;BR /&gt;Many thanks,&lt;BR /&gt;Emile&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 11:53:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Transpose-question/m-p/660134#M9763</guid>
      <dc:creator>emilep</dc:creator>
      <dc:date>2023-10-09T11:53:03Z</dc:date>
    </item>
  </channel>
</rss>

