<?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: contingency table cell values in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/contingency-table-cell-values/m-p/55094#M1162</link>
    <description>&lt;P&gt;eggcellent - thanks!  hmm, the cli behavior is unexpected - eg pipe to less shows incomplete results.  i'm aiming for a cli that shows top N chatty hosts - any pointers on that?  (i don't know if i should submit a separate question)&lt;/P&gt;</description>
    <pubDate>Tue, 08 Mar 2011 06:00:45 GMT</pubDate>
    <dc:creator>jrstear</dc:creator>
    <dc:date>2011-03-08T06:00:45Z</dc:date>
    <item>
      <title>contingency table cell values</title>
      <link>https://community.splunk.com/t5/Reporting/contingency-table-cell-values/m-p/55092#M1160</link>
      <description>&lt;P&gt;"daysago=5 | ctable host date_wday" produces a table with hosts on rows, dates on columns, and total message count in the cells, but takes a while as it must go through all the logs and count them.  I have summary index records with fields orig_host and daily_count, but how do I get it into the same format as above?&lt;/P&gt;

&lt;P&gt;More generally: it'd be handy if ctable took an optional argument to indicate what values were put in the cells, eg "daysago=5 index=summary search_name=daily_count_by_host | ctable orig_host wday value=daily_count".  It'd also be nice to be able to control the sort order of rows and columns, eg via a preceding sort.  Maybe there is already a way to do this?&lt;/P&gt;

&lt;P&gt;Thanks for any help!&lt;/P&gt;

&lt;P&gt;-jon&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2011 22:43:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/contingency-table-cell-values/m-p/55092#M1160</guid>
      <dc:creator>jrstear</dc:creator>
      <dc:date>2011-03-07T22:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: contingency table cell values</title>
      <link>https://community.splunk.com/t5/Reporting/contingency-table-cell-values/m-p/55093#M1161</link>
      <description>&lt;P&gt;First note that ctable is roughly equivalent to chart. The following two give the same results, except for the limit in series that will be shown:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | ctable x y
... | chart count by x y
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In your case, you don't want the count of summary events but rather the sum of the daily_count field. So your search will be:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;daysago=5 index=summary search_name=daily_count_by_host
| chart sum(daily_count) by orig_host wday
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 08 Mar 2011 00:35:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/contingency-table-cell-values/m-p/55093#M1161</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2011-03-08T00:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: contingency table cell values</title>
      <link>https://community.splunk.com/t5/Reporting/contingency-table-cell-values/m-p/55094#M1162</link>
      <description>&lt;P&gt;eggcellent - thanks!  hmm, the cli behavior is unexpected - eg pipe to less shows incomplete results.  i'm aiming for a cli that shows top N chatty hosts - any pointers on that?  (i don't know if i should submit a separate question)&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2011 06:00:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/contingency-table-cell-values/m-p/55094#M1162</guid>
      <dc:creator>jrstear</dc:creator>
      <dc:date>2011-03-08T06:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: contingency table cell values</title>
      <link>https://community.splunk.com/t5/Reporting/contingency-table-cell-values/m-p/55095#M1163</link>
      <description>&lt;P&gt;nevermind, timechart is good.  thanks again.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2011 07:59:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/contingency-table-cell-values/m-p/55095#M1163</guid>
      <dc:creator>jrstear</dc:creator>
      <dc:date>2011-03-08T07:59:08Z</dc:date>
    </item>
  </channel>
</rss>

