<?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: Accelerating report that uses bucket _time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690116#M235076</link>
    <description>&lt;P&gt;I used splunk web interface, went to reports &amp;gt; edit acceleration for the specific report &amp;gt; clicked save and it says "This search cannot be accelerated". Please find screenshot in the other reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 09 Jun 2024 09:37:54 GMT</pubDate>
    <dc:creator>jpillai</dc:creator>
    <dc:date>2024-06-09T09:37:54Z</dc:date>
    <item>
      <title>Accelerating report that uses bucket _time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690029#M235061</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a report running every 6 hour with below search query. This is fetching hourly availability of haproxy backends based on http response code as shown below.&lt;/P&gt;&lt;P&gt;I need to accelerate this report, but I think the bucket section of the search is disqualifying this for report acceleration. Can someone help with modifying this search so that it can be accelerated or are there any other work arounds to do this to get the exact same table as shown?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;index=haproxy (backend="backend1" OR backend="backend2")
| bucket _time span=1h
| eval result=if(status &amp;gt;= 500, "Failure", "Success") 
| stats count(result) as totalcount, count(eval(result="Success")) as success, count(eval(result="Failure")) as failure by backend, _time
| eval availability=tostring(round((success/totalcount)*100,3)) + "%" 
| fields _time, backend, success, failure, totalcount, availability&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;_time backend success failure totalcount availability&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;2024-06-07 04:00&lt;/TD&gt;&lt;TD&gt;backend1&lt;/TD&gt;&lt;TD&gt;28666&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;28666&lt;/TD&gt;&lt;TD&gt;100.000%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024-06-07 05:00&lt;/TD&gt;&lt;TD&gt;backend1&lt;/TD&gt;&lt;TD&gt;28666&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;28666&lt;/TD&gt;&lt;TD&gt;100.000%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024-06-07 06:00&lt;/TD&gt;&lt;TD&gt;backend1&lt;/TD&gt;&lt;TD&gt;28712&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;28712&lt;/TD&gt;&lt;TD&gt;100.000%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024-06-07 07:00&lt;/TD&gt;&lt;TD&gt;backend1&lt;/TD&gt;&lt;TD&gt;28697&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;28697&lt;/TD&gt;&lt;TD&gt;100.000%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024-06-07 08:00&lt;/TD&gt;&lt;TD&gt;backend1&lt;/TD&gt;&lt;TD&gt;28678&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;28678&lt;/TD&gt;&lt;TD&gt;100.000%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024-06-07 09:00&lt;/TD&gt;&lt;TD&gt;backend1&lt;/TD&gt;&lt;TD&gt;28714&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;28714&lt;/TD&gt;&lt;TD&gt;100.000%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024-06-07 04:00&lt;/TD&gt;&lt;TD&gt;backend2&lt;/TD&gt;&lt;TD&gt;618&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;618&lt;/TD&gt;&lt;TD&gt;100.000%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024-06-07 05:00&lt;/TD&gt;&lt;TD&gt;backend2&lt;/TD&gt;&lt;TD&gt;179&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;179&lt;/TD&gt;&lt;TD&gt;100.000%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024-06-07 06:00&lt;/TD&gt;&lt;TD&gt;backend2&lt;/TD&gt;&lt;TD&gt;555&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;555&lt;/TD&gt;&lt;TD&gt;100.000%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024-06-07 07:00&lt;/TD&gt;&lt;TD&gt;backend2&lt;/TD&gt;&lt;TD&gt;103&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;103&lt;/TD&gt;&lt;TD&gt;100.000%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024-06-07 08:00&lt;/TD&gt;&lt;TD&gt;backend2&lt;/TD&gt;&lt;TD&gt;1039&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1039&lt;/TD&gt;&lt;TD&gt;100.000%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 07 Jun 2024 16:43:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690029#M235061</guid>
      <dc:creator>jpillai</dc:creator>
      <dc:date>2024-06-07T16:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerating report that uses bucket _time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690087#M235073</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/48465"&gt;@jpillai&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;It should work as written, although you don't need the extra fields command.&lt;/P&gt;&lt;P&gt;What process did you use to accelerate the report? If you used Splunk Web, were any errors reported by the user interface?&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2024 15:16:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690087#M235073</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2024-06-08T15:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerating report that uses bucket _time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690097#M235074</link>
      <description>&lt;P&gt;It seems perfectly acceleratable. The &lt;EM&gt;bin&lt;/EM&gt; command is a streaming one so the requirements for only streaming commands before first transforming command is fulfilled.&lt;/P&gt;&lt;P&gt;You could try to use summary indexing here though instead of report acceleration - this would give you more flexibility in using the summarized data later should you need to reference it in other searches.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2024 20:35:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690097#M235074</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-06-08T20:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerating report that uses bucket _time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690115#M235075</link>
      <description>&lt;P&gt;Splunk says "This search cannot be accelerated" when I go to enable acceleration for the report and hit save,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-06-09 at 3.03.50 PM.jpg" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31239i1544A9F46D5D2697/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-09 at 3.03.50 PM.jpg" alt="Screenshot 2024-06-09 at 3.03.50 PM.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jun 2024 09:35:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690115#M235075</guid>
      <dc:creator>jpillai</dc:creator>
      <dc:date>2024-06-09T09:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerating report that uses bucket _time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690116#M235076</link>
      <description>&lt;P&gt;I used splunk web interface, went to reports &amp;gt; edit acceleration for the specific report &amp;gt; clicked save and it says "This search cannot be accelerated". Please find screenshot in the other reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jun 2024 09:37:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690116#M235076</guid>
      <dc:creator>jpillai</dc:creator>
      <dc:date>2024-06-09T09:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerating report that uses bucket _time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690151#M235080</link>
      <description>&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Manageacceleratedsearchsummaries#Restrictions_on_report_acceleration" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Manageacceleratedsearchsummaries#Restrictions_on_report_acceleration&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Since the search itself qualifies for acceleration, most probably your user role either lacks capabilities to enable accelerations or write permissions for the report.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jun 2024 17:49:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690151#M235080</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-06-09T17:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerating report that uses bucket _time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690201#M235090</link>
      <description>&lt;P&gt;Im afraid this is not the the case. I have admin role and I have enabled acceleration for other reports before. Please also note that the error is "*This search* can not be accelerated" as mentioned in above replies.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 09:52:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690201#M235090</guid>
      <dc:creator>jpillai</dc:creator>
      <dc:date>2024-06-10T09:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerating report that uses bucket _time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690205#M235091</link>
      <description>&lt;P&gt;Oh wait. I missed to include one last update that was added to the search which is search time window in the search itself. The search uses time window (earliest=@h-6h latest=@h) as shown below. When I removed this, I found that it is possible to set acceleration. Is this a known limitation?&lt;/P&gt;&lt;LI-CODE lang="python"&gt;index=haproxy (backend="backend1" OR backend="backend2") earliest=@h-6h latest=@h
| bucket _time span=1h
| eval result=if(status &amp;gt;= 500, "Failure", "Success") 
| stats count(result) as totalcount, count(eval(result="Success")) as success, count(eval(result="Failure")) as failure by backend, _time
| eval availability=tostring(round((success/totalcount)*100,3)) + "%" 
| fields _time, backend, success, failure, totalcount, availability&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 10:11:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690205#M235091</guid>
      <dc:creator>jpillai</dc:creator>
      <dc:date>2024-06-10T10:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerating report that uses bucket _time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690206#M235092</link>
      <description>&lt;P&gt;Oh wait. I missed to include one last update that was added to the search which is search time window in the search itself. The search uses time window (earliest=@h-6h latest=@h) as shown below. When I removed this, I found that it is possible to set acceleration. Is this a known limitation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;index=haproxy (backend="backend1" OR backend="backend2") earliest=@h-6h latest=@h
| bucket _time span=1h
| eval result=if(status &amp;gt;= 500, "Failure", "Success") 
| stats count(result) as totalcount, count(eval(result="Success")) as success, count(eval(result="Failure")) as failure by backend, _time
| eval availability=tostring(round((success/totalcount)*100,3)) + "%" 
| fields _time, backend, success, failure, totalcount, availability&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 10:11:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690206#M235092</guid>
      <dc:creator>jpillai</dc:creator>
      <dc:date>2024-06-10T10:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerating report that uses bucket _time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690225#M235096</link>
      <description>&lt;P&gt;I suppose one can argue that it falls under the "cannot use sampling" restriction but I agree that it could be more explicitly worded.&lt;/P&gt;&lt;P&gt;There is a feedback form at the end of the docs page. You're more than welcome to send feedback about this missing info. They do read it and react!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 11:47:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Accelerating-report-that-uses-bucket-time/m-p/690225#M235096</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-06-10T11:47:43Z</dc:date>
    </item>
  </channel>
</rss>

