<?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: Should I use report acceleration or the loadjob command for dashboard performance optimization? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Should-I-use-report-acceleration-or-the-loadjob-command-for/m-p/285600#M18062</link>
    <description>&lt;P&gt;Here are my thoughts:&lt;/P&gt;

&lt;P&gt;Does the data have to be "up to the minute"? In other words, do the statistics include data from the last hour?&lt;/P&gt;

&lt;P&gt;If &lt;STRONG&gt;yes&lt;/STRONG&gt;, then IMO report acceleration is a very good idea. You might also consider using post-process searches to make the dashboard panels faster. See &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.0/Viz/Savedsearches"&gt;here&lt;/A&gt;  for info about post-process searches - you will need to scroll down to the "Post-process searches" heading.&lt;/P&gt;

&lt;P&gt;If &lt;STRONG&gt;no&lt;/STRONG&gt;, then you could use scheduled searches to power your dashboard panels. If you reference a scheduled search in a dashboard, Splunk will automatically populate the dashboard with the most recent cached results. If all of the panels can be powered from scheduled searches, then &lt;EM&gt;no&lt;/EM&gt; searches will be run when the dashboard is loaded. This is very fast and efficient.  This info is on the &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.0/Viz/Savedsearches"&gt;same page&lt;/A&gt; as the first link, but under the heading "Reference a search from a report" (earlier on the page). &lt;/P&gt;

&lt;P&gt;You could use &lt;CODE&gt;loadjob&lt;/CODE&gt; in a similar way to the scheduled searches, but it is a more complex way of doing the work.&lt;/P&gt;

&lt;P&gt;Report acceleration should also make scheduled searches run faster. But the ongoing overhead of report acceleration might not be worth it, especially if you can run your scheduled searches at 4:00 am. &lt;/P&gt;

&lt;P&gt;Do not bother with summary indexing, unless you are willing to spend the ongoing maintenance effort. Report acceleration summaries are maintained automatically. In your case, I think report acceleration is a better choice.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Oct 2015 07:58:55 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2015-10-23T07:58:55Z</dc:date>
    <item>
      <title>Should I use report acceleration or the loadjob command for dashboard performance optimization?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Should-I-use-report-acceleration-or-the-loadjob-command-for/m-p/285598#M18060</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Let's say we have a dashboard with the following panels:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;daily active users&lt;/LI&gt;
&lt;LI&gt;daily active users by server&lt;/LI&gt;
&lt;LI&gt;weekly active users&lt;/LI&gt;
&lt;LI&gt;weekly active users by server&lt;/LI&gt;
&lt;LI&gt;monthly active users&lt;/LI&gt;
&lt;LI&gt;monthly active users by server&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;And the panels are all saved searches like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...
| timechart span=1*d/w/mon* dc(user_id) AS users
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...
| timechart span=1d/w/m dc(user_id) AS users BY server_id
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm thinking about how to optimize the performance of this dashboard.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;1. Report Acceleration&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Accelerate this base search (the output will be at least &amp;gt;3.000.000 rows)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; ...
| bucket span=1d _time
| stats count by _time, user_id, server_id
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Create saved searches using this acceleration summary for the dashboard panels, e.g.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...
| bucket span=1d _time
| stats count by _time, user_id, server_id
| timechart span=1d dc(user_id) AS active_users
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;2. Loadjob&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Schedule this saved search (the output will be at least &amp;gt;3.000.000 rows again):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...
| bucket span=1d _time
| stats count by _time, user_id, server_id
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and use the results afterwards, e.g.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...
| loadjob savedsearch="user:app:mysearch"
| timechart span=1d dc(user_id) AS users
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I haven't used loadjob before and am not sure whether this is intended usage. First test runs show that loadjob would be 3x faster than acceleration.&lt;BR /&gt;
Do I have to keep in mind possible problems using acceleration or loadjob here? What would be your preferred approach?&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;

&lt;P&gt;Heinz&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 08:51:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Should-I-use-report-acceleration-or-the-loadjob-command-for/m-p/285598#M18060</guid>
      <dc:creator>HeinzWaescher</dc:creator>
      <dc:date>2015-10-21T08:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use report acceleration or the loadjob command for dashboard performance optimization?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Should-I-use-report-acceleration-or-the-loadjob-command-for/m-p/285599#M18061</link>
      <description>&lt;P&gt;Do you get 3 million rows after per day, after the timechart? What's the time range for which your dashboard shows data for day/week/month? &lt;BR /&gt;
Have you explore options of summary indexing?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2015 22:01:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Should-I-use-report-acceleration-or-the-loadjob-command-for/m-p/285599#M18061</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-10-22T22:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use report acceleration or the loadjob command for dashboard performance optimization?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Should-I-use-report-acceleration-or-the-loadjob-command-for/m-p/285600#M18062</link>
      <description>&lt;P&gt;Here are my thoughts:&lt;/P&gt;

&lt;P&gt;Does the data have to be "up to the minute"? In other words, do the statistics include data from the last hour?&lt;/P&gt;

&lt;P&gt;If &lt;STRONG&gt;yes&lt;/STRONG&gt;, then IMO report acceleration is a very good idea. You might also consider using post-process searches to make the dashboard panels faster. See &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.0/Viz/Savedsearches"&gt;here&lt;/A&gt;  for info about post-process searches - you will need to scroll down to the "Post-process searches" heading.&lt;/P&gt;

&lt;P&gt;If &lt;STRONG&gt;no&lt;/STRONG&gt;, then you could use scheduled searches to power your dashboard panels. If you reference a scheduled search in a dashboard, Splunk will automatically populate the dashboard with the most recent cached results. If all of the panels can be powered from scheduled searches, then &lt;EM&gt;no&lt;/EM&gt; searches will be run when the dashboard is loaded. This is very fast and efficient.  This info is on the &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.0/Viz/Savedsearches"&gt;same page&lt;/A&gt; as the first link, but under the heading "Reference a search from a report" (earlier on the page). &lt;/P&gt;

&lt;P&gt;You could use &lt;CODE&gt;loadjob&lt;/CODE&gt; in a similar way to the scheduled searches, but it is a more complex way of doing the work.&lt;/P&gt;

&lt;P&gt;Report acceleration should also make scheduled searches run faster. But the ongoing overhead of report acceleration might not be worth it, especially if you can run your scheduled searches at 4:00 am. &lt;/P&gt;

&lt;P&gt;Do not bother with summary indexing, unless you are willing to spend the ongoing maintenance effort. Report acceleration summaries are maintained automatically. In your case, I think report acceleration is a better choice.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2015 07:58:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Should-I-use-report-acceleration-or-the-loadjob-command-for/m-p/285600#M18062</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2015-10-23T07:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use report acceleration or the loadjob command for dashboard performance optimization?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Should-I-use-report-acceleration-or-the-loadjob-command-for/m-p/285601#M18063</link>
      <description>&lt;P&gt;Hey,&lt;BR /&gt;
the timerange would be "all-time", because I want to cover the whole lifecycle. Earliest start would be in 2013.&lt;BR /&gt;
After the timechart there would be one row per day/month/week and one column for the KPI.&lt;/P&gt;

&lt;P&gt;I try to avoid summary indexing, because what I've read so far that it needs care &amp;amp; attention, to keep the results correctly (gaps, overlaps etc)&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2015 08:42:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Should-I-use-report-acceleration-or-the-loadjob-command-for/m-p/285601#M18063</guid>
      <dc:creator>HeinzWaescher</dc:creator>
      <dc:date>2015-10-23T08:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use report acceleration or the loadjob command for dashboard performance optimization?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Should-I-use-report-acceleration-or-the-loadjob-command-for/m-p/285602#M18064</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;the data does not have to be up to date, latest would be @d. And they will run over night.&lt;BR /&gt;
Currently I'm using scheduled searches for the panels. But I thought about how to increase system performance by using one of the options.&lt;/P&gt;

&lt;P&gt;I haven't used the loadjob command before. I thought it could be a good solution, to populate the base search and then adjust the results to the different formats I need. Timecharting a result table should not be a problem regarding the maxtime of a subsearch?! And Splunk has to analyse the raw data only 1 time, instead of 6 times for every panel.&lt;/P&gt;

&lt;P&gt;The mantenance effot of summay indexing is the reason why I always try to avoid it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2015 08:52:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Should-I-use-report-acceleration-or-the-loadjob-command-for/m-p/285602#M18064</guid>
      <dc:creator>HeinzWaescher</dc:creator>
      <dc:date>2015-10-23T08:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use report acceleration or the loadjob command for dashboard performance optimization?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Should-I-use-report-acceleration-or-the-loadjob-command-for/m-p/285603#M18065</link>
      <description>&lt;P&gt;So you could just have one scheduled search - the base search and then use post-process searches for the panels... Post-process searches are surely doing loadjob behind the scenes.&lt;/P&gt;

&lt;P&gt;Also, you could accelerate the base search as well.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2015 21:22:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Should-I-use-report-acceleration-or-the-loadjob-command-for/m-p/285603#M18065</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2015-10-23T21:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use report acceleration or the loadjob command for dashboard performance optimization?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Should-I-use-report-acceleration-or-the-loadjob-command-for/m-p/285604#M18066</link>
      <description>&lt;P&gt;I think I will use the normal loadjob command on a base search. The Post-process has a timeout limit that I want to avoid as possible source of errors in the dashboards.&lt;/P&gt;

&lt;P&gt;Thanks a lot for your input&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2015 11:12:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Should-I-use-report-acceleration-or-the-loadjob-command-for/m-p/285604#M18066</guid>
      <dc:creator>HeinzWaescher</dc:creator>
      <dc:date>2015-10-26T11:12:56Z</dc:date>
    </item>
  </channel>
</rss>

