<?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: Summary index search not working in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Summary-index-search-not-working/m-p/81349#M812</link>
    <description>&lt;P&gt;Simply, you need to check the "enable summary indexing" checkbox. &lt;CODE&gt;sistats&lt;/CODE&gt; will generate the data, but will not write it to the summary index.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Feb 2012 05:42:23 GMT</pubDate>
    <dc:creator>gkanapathy</dc:creator>
    <dc:date>2012-02-29T05:42:23Z</dc:date>
    <item>
      <title>Summary index search not working</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Summary-index-search-not-working/m-p/81348#M811</link>
      <description>&lt;P&gt;So after having used Splunk for over a year now, I'm finally getting around to doing my first summary index-based search and it's not working.  Clearly I'm missing something that's probably obvious, but I can't figure out what it is.&lt;/P&gt;

&lt;P&gt;I had started with the following search&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;tag=p*aps* source=*/access.log | stats count AS HTTP_Operations sum(bytes_received) AS bytes_received_total sum(bytes_sent) AS bytes_sent_total BY host| eval MBytes_Total = round((( bytes_sent_total + bytes_received_total ) / 1048576), 2) | eval MBytes_Sent = round((bytes_sent_total / 1048576),2) | eval MBytes_Received = round((bytes_received_total / 1048576),2) | fields host, HTTP_Operations, MBytes_Sent, MBytes_Received, MBytes_Total
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which works great run by itself.  I read the docs and understand that I have to drop the eval's.  So I whittled this down to&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;tag=p*aps* source=*/access.log | sistats count AS HTTP_Operations sum(bytes_received) AS bytes_received_total sum(bytes_sent) AS bytes_sent_total BY host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I made this a scheduled search to collect this information for yesterday (start -1d@d, end @d) and scheduled to run every day at 10 minutes after midnight.   I do not have the enable summary indexing box checked in the scheduled search because I thought I'd understood that the "sistats" command itself would generate the summary data.&lt;/P&gt;

&lt;P&gt;So this search runs according to job monitor, but nothing ever shows up in the summary index.  In fact, according to the index page under Manager, my summary index hasn't had a new event added in 6 days.&lt;/P&gt;

&lt;P&gt;What am I doing wrong?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 02:41:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Summary-index-search-not-working/m-p/81348#M811</guid>
      <dc:creator>mfrost8</dc:creator>
      <dc:date>2012-02-29T02:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Summary index search not working</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Summary-index-search-not-working/m-p/81349#M812</link>
      <description>&lt;P&gt;Simply, you need to check the "enable summary indexing" checkbox. &lt;CODE&gt;sistats&lt;/CODE&gt; will generate the data, but will not write it to the summary index.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 05:42:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Summary-index-search-not-working/m-p/81349#M812</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-02-29T05:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Summary index search not working</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Summary-index-search-not-working/m-p/81350#M813</link>
      <description>&lt;P&gt;That was it.  What I'd understood from the docs was that using "sistats" alone was signalling Splunk that this was a summary index related search.  I thought that ticking the enable summary indexing checkbox would handle the details if say you used "stats" instead of "sistats".&lt;/P&gt;

&lt;P&gt;Thanks very much, Gerald.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 18:59:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Summary-index-search-not-working/m-p/81350#M813</guid>
      <dc:creator>mfrost8</dc:creator>
      <dc:date>2012-02-29T18:59:01Z</dc:date>
    </item>
  </channel>
</rss>

