<?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: Backfill command not finding searches in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Backfill-command-not-finding-searches/m-p/108454#M1096</link>
    <description>&lt;P&gt;The fill summary script will run each search as it was scheduled to run.  If there is one search that would have created 10 summary points - the script will report it as 10 searches.   &lt;/P&gt;

&lt;P&gt;Let us say there is a search called &lt;CODE&gt;summarize_daily&lt;/CODE&gt; that runs once each day.  If we try to fill its summary using the script for one week (&lt;CODE&gt;-et -1w@w -lt @w&lt;/CODE&gt;), it will run 7 searches.&lt;/P&gt;

&lt;P&gt;The a &lt;CODE&gt;-dedup true&lt;/CODE&gt; setting will have it skip over summaries that have already been performed.  In the above example, if the intended summaries already exist and the dedup flag is used, then 0 searches will be performed.  &lt;/P&gt;

&lt;P&gt;Next steps:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Run against one search explicitly (versus the asterik) for troubleshooting purposes.&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;If that returns 0, manually check the summary data to see if it already exists for the time specified.&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;If no summary data is found - verify summary indexing is enabled for that search.&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Wed, 25 May 2011 14:38:47 GMT</pubDate>
    <dc:creator>bwooden</dc:creator>
    <dc:date>2011-05-25T14:38:47Z</dc:date>
    <item>
      <title>Backfill command not finding searches</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Backfill-command-not-finding-searches/m-p/108453#M1095</link>
      <description>&lt;P&gt;When I run the backfill command for summary index searches in an app, I get an output saying that there is 30 searches found, but that 0 will be added to list.&lt;/P&gt;

&lt;P&gt;This is the command to backfill TWO summary indexes, using only TWO searches (there are a total of THREE searches in this app, however one is not for summary index gen):&lt;/P&gt;

&lt;P&gt;./splunk cmd python fill_summary_index.py -app indexStatsApp -name "*" -et -mon@mon -lt @mon -dedup true -auth admin:XXXXXXXXXXX&lt;/P&gt;

&lt;P&gt;After running this command, I get the following result:&lt;/P&gt;

&lt;P&gt;Getting list of all saved searches for selected app=indexStatsApp and owner=nobody&lt;BR /&gt;
... found 30 saved searches&lt;BR /&gt;
... of those, 0 will be added to list (those that are enabled, scheduled, and has summary_index action)&lt;/P&gt;

&lt;P&gt;No searches to run&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;First of all, im not sure where Splunk is finding 30 searches, becuase there are only 3 in aoo.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Secondly, I don't know why it cannot find the index searches to backfill the indexes. Summary indexing is turned on, and they are all saved, scheduled searches.&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Can anybody shed some light on this foor me?? Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:36:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Backfill-command-not-finding-searches/m-p/108453#M1095</guid>
      <dc:creator>johndunlea</dc:creator>
      <dc:date>2020-09-28T09:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Backfill command not finding searches</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Backfill-command-not-finding-searches/m-p/108454#M1096</link>
      <description>&lt;P&gt;The fill summary script will run each search as it was scheduled to run.  If there is one search that would have created 10 summary points - the script will report it as 10 searches.   &lt;/P&gt;

&lt;P&gt;Let us say there is a search called &lt;CODE&gt;summarize_daily&lt;/CODE&gt; that runs once each day.  If we try to fill its summary using the script for one week (&lt;CODE&gt;-et -1w@w -lt @w&lt;/CODE&gt;), it will run 7 searches.&lt;/P&gt;

&lt;P&gt;The a &lt;CODE&gt;-dedup true&lt;/CODE&gt; setting will have it skip over summaries that have already been performed.  In the above example, if the intended summaries already exist and the dedup flag is used, then 0 searches will be performed.  &lt;/P&gt;

&lt;P&gt;Next steps:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Run against one search explicitly (versus the asterik) for troubleshooting purposes.&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;If that returns 0, manually check the summary data to see if it already exists for the time specified.&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;If no summary data is found - verify summary indexing is enabled for that search.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 25 May 2011 14:38:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Backfill-command-not-finding-searches/m-p/108454#M1096</guid>
      <dc:creator>bwooden</dc:creator>
      <dc:date>2011-05-25T14:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Backfill command not finding searches</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Backfill-command-not-finding-searches/m-p/108455#M1097</link>
      <description>&lt;P&gt;Thanks bwooden. I will check that now and see what I come up with.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2011 14:52:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Backfill-command-not-finding-searches/m-p/108455#M1097</guid>
      <dc:creator>johndunlea</dc:creator>
      <dc:date>2011-05-25T14:52:47Z</dc:date>
    </item>
  </channel>
</rss>

