<?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 Not Updating in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Summary-Index-Not-Updating/m-p/94527#M970</link>
    <description>&lt;P&gt;Ah!  So helpful!  I was seeing a significant pause, often resolved by a splunk reboot.  If I backfill the summary index using the backfill script, it sometimes just doesn't show up until I reboot.  However, sometimes it does.  It's zen that way.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Nov 2010 23:36:57 GMT</pubDate>
    <dc:creator>srussellnpr</dc:creator>
    <dc:date>2010-11-30T23:36:57Z</dc:date>
    <item>
      <title>Summary Index Not Updating</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Summary-Index-Not-Updating/m-p/94523#M966</link>
      <description>&lt;P&gt;I'm trying to debug issues with a scheduled search that writes to the summary index and the backfill script.  My assumption was that the following happens in sequence:&lt;/P&gt;

&lt;P&gt;1) Scheduled Search Runs (search is designed to run as a summary index, summary indexing is enabled, etc. etc.)&lt;/P&gt;

&lt;P&gt;2) Files are added/modified in /var/lib/splunk/summarydb&lt;/P&gt;

&lt;P&gt;3) A search of  index="summary" will show those results&lt;/P&gt;

&lt;P&gt;I'm finding that when 1 happens, 2 happens immediately, but 3...not so much.  &lt;/P&gt;

&lt;P&gt;What's going on?  Is there some mysterious other process that puts delays between something getting written to the summary index and something being available for search from the summary index?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2010 02:58:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Summary-Index-Not-Updating/m-p/94523#M966</guid>
      <dc:creator>srussellnpr</dc:creator>
      <dc:date>2010-11-25T02:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Summary Index Not Updating</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Summary-Index-Not-Updating/m-p/94524#M967</link>
      <description>&lt;P&gt;I'm assuming you're doing this, but just to make sure...
When you search against a summary index, the syntax should be:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="summary" search_name="savedSearchName" | stats count ....
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The search following the first pipe must match your populating search (minus 'si').  So, if your populating search is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...| sistats count by fieldName 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;your search against the index must be:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...| stats count by fieldName | more stuff...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Nov 2010 05:15:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Summary-Index-Not-Updating/m-p/94524#M967</guid>
      <dc:creator>sfleming</dc:creator>
      <dc:date>2010-11-25T05:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Summary Index Not Updating</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Summary-Index-Not-Updating/m-p/94525#M968</link>
      <description>&lt;P&gt;Yes.  In fact, right now the summary index is totally clean so I'm just doing:&lt;/P&gt;

&lt;P&gt;index="summary"&lt;/P&gt;

&lt;P&gt;I've found that if I restart splunk, the index data is visible again.  I also find this error in the log:&lt;/P&gt;

&lt;P&gt;11-29-2010 10:00:05.226 ERROR databasePartitionPolicy - unable to open file: /usr/local/splunk/var/lib/splunk/summarydb/db/.metaManifest (No such file or directory)&lt;/P&gt;

&lt;P&gt;Thanks!&lt;BR /&gt;
-S.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2010 00:16:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Summary-Index-Not-Updating/m-p/94525#M968</guid>
      <dc:creator>srussellnpr</dc:creator>
      <dc:date>2010-11-30T00:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Summary Index Not Updating</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Summary-Index-Not-Updating/m-p/94526#M969</link>
      <description>&lt;P&gt;More precisely, the steps are:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Scheduled search runs, uses the &lt;CODE&gt;collect&lt;/CODE&gt; command either implicitly (via "enable summary indexing" checkbox" or explicitly in the search string.&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;collect&lt;/CODE&gt; command (with default settings) gets output, transforms, and writes it to &lt;CODE&gt;$SPLUNK_HOME/var/spool/splunk&lt;/CODE&gt; in an intermediate file&lt;/LI&gt;
&lt;LI&gt;Splunk default batch input reads the intermediate file from there, writes it to the summary index&lt;/LI&gt;
&lt;LI&gt;Data is searchable&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;When you see the index files being modified, that is &lt;EM&gt;not&lt;/EM&gt; done directly by the summary indexing search job, only indirectly. How long a delay are you seeing? The longest delay would normally be the pause for the batch monitor to notice and index the new output file generated by the search.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2010 13:26:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Summary-Index-Not-Updating/m-p/94526#M969</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-11-30T13:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Summary Index Not Updating</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Summary-Index-Not-Updating/m-p/94527#M970</link>
      <description>&lt;P&gt;Ah!  So helpful!  I was seeing a significant pause, often resolved by a splunk reboot.  If I backfill the summary index using the backfill script, it sometimes just doesn't show up until I reboot.  However, sometimes it does.  It's zen that way.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2010 23:36:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Summary-Index-Not-Updating/m-p/94527#M970</guid>
      <dc:creator>srussellnpr</dc:creator>
      <dc:date>2010-11-30T23:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Summary Index Not Updating</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Summary-Index-Not-Updating/m-p/94528#M971</link>
      <description>&lt;P&gt;&lt;A href="http://ppt.cc/9L14"&gt;link text&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I also have this problem, what is the solution, thank you&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 07:11:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Summary-Index-Not-Updating/m-p/94528#M971</guid>
      <dc:creator>grio</dc:creator>
      <dc:date>2012-02-10T07:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Summary Index Not Updating</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Summary-Index-Not-Updating/m-p/94529#M972</link>
      <description>&lt;P&gt;I had the same problem and found that if I restart the SH, the index data is visible again.&lt;BR /&gt;
Don't know why though or if it will happen again &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 12:00:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Summary-Index-Not-Updating/m-p/94529#M972</guid>
      <dc:creator>goncalocoelho</dc:creator>
      <dc:date>2019-10-22T12:00:40Z</dc:date>
    </item>
  </channel>
</rss>

