<?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: Creating a Matrix/Grid in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-Matrix-Grid/m-p/99311#M25629</link>
    <description>&lt;P&gt;....|Rename "row 1" as user1 |Rename "row 2" as user2|Rename "row 3" as user3&lt;/P&gt;

&lt;P&gt;By this you can rename your column headers&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jun 2013 05:24:57 GMT</pubDate>
    <dc:creator>mamta11</dc:creator>
    <dc:date>2013-06-14T05:24:57Z</dc:date>
    <item>
      <title>Creating a Matrix/Grid</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-Matrix-Grid/m-p/99308#M25626</link>
      <description>&lt;P&gt;Hi Splunkers,&lt;/P&gt;

&lt;P&gt;I've been asked to create a command centre for our business. The main requirement is to have a single dashboard with a table in the form of a grid where we have counts of transactions, success/failure rates etc... per user. I'm having trouble with the layout of the matrix..&lt;/P&gt;

&lt;P&gt;Here is the requirement for how it should look:&lt;/P&gt;

&lt;P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
USER                   | User 1 | User 2 | User 3 | User 4 | User 5 |&lt;BR /&gt;
Total Volume of Quotes | 100456 | 675890 | 573747 | 235478 | 138542 |&lt;BR /&gt;
Success %              | 99%    | 98%    | 97%    | 99%    | 95%    |&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;I've tried xyseries, but I cannot get the right format.&lt;/P&gt;

&lt;P&gt;Can anyone offer some advice? &lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2012 16:13:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-Matrix-Grid/m-p/99308#M25626</guid>
      <dc:creator>watsm10</dc:creator>
      <dc:date>2012-10-23T16:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Matrix/Grid</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-Matrix-Grid/m-p/99309#M25627</link>
      <description>&lt;P&gt;Since I don't have your data (you seem to have forgotten to add some), I had to make do with the ever interesting access_combined logs.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=access_combined clientip=12* status=2* OR status=5* 
| head 1000 
| chart count over clientip by status_description 
| addtotals 
| eval "Success Ratio" = round((OK / Total * 100),0) . "%" 
| fields - OK, "Service Unavailable" 
| transpose 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The first two rows in the example above is to get a limited number of events with typical success/fail content.&lt;/P&gt;

&lt;P&gt;Then you create a chart with clientip's (users) on one axis, and the success/fail status on the other.&lt;/P&gt;

&lt;P&gt;Add the successes to the fails to get a Total&lt;/P&gt;

&lt;P&gt;Find out the ratio of success to Total, and make a nice string with percent sign.&lt;/P&gt;

&lt;P&gt;Transpose, i.e. shift columns to row and vice versa.&lt;/P&gt;

&lt;P&gt;My result:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;column            row1           row2          row3
clientip          12.23.34.45    12.13.14.15   12.33.44.55
Success Ratio     87%            79%           82%
Total             1243           5564          32331
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2012 20:25:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-Matrix-Grid/m-p/99309#M25627</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-10-23T20:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Matrix/Grid</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-Matrix-Grid/m-p/99310#M25628</link>
      <description>&lt;P&gt;Hi Kristian,&lt;BR /&gt;
Thanks for your help. That is exactly what I was after. Only thing is, I want to raise the first row of the results to become the column headers so that user 1 is Row 1, user 2 is Row 2 etc. Any ideas on how to do this? Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2012 08:19:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-Matrix-Grid/m-p/99310#M25628</guid>
      <dc:creator>watsm10</dc:creator>
      <dc:date>2012-10-24T08:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Matrix/Grid</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-Matrix-Grid/m-p/99311#M25629</link>
      <description>&lt;P&gt;....|Rename "row 1" as user1 |Rename "row 2" as user2|Rename "row 3" as user3&lt;/P&gt;

&lt;P&gt;By this you can rename your column headers&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2013 05:24:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-Matrix-Grid/m-p/99311#M25629</guid>
      <dc:creator>mamta11</dc:creator>
      <dc:date>2013-06-14T05:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Matrix/Grid</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-Matrix-Grid/m-p/99312#M25630</link>
      <description>&lt;P&gt;@kristian.kolb - how do I remove this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;column            row1           row2          row3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and just have this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; clientip          12.23.34.45    12.13.14.15   12.33.44.55
 Success Ratio     87%            79%           82%
 Total             1243           5564          32331
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Jul 2015 23:45:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-Matrix-Grid/m-p/99312#M25630</guid>
      <dc:creator>HattrickNZ</dc:creator>
      <dc:date>2015-07-08T23:45:29Z</dc:date>
    </item>
  </channel>
</rss>

