<?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: Best Methods to Improve Performance of Dashboard in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Best-Methods-to-Improve-Performance-of-Dashboard/m-p/365239#M107722</link>
    <description>&lt;P&gt;Okay, I know we've already reviewed and simplified that search for you.  &lt;/P&gt;

&lt;P&gt;Ah, you commented on it an hour ago.  We've given you that code over there.  &lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/578622/how-to-make-my-search-more-efficient-help-to-remov.html"&gt;https://answers.splunk.com/answers/578622/how-to-make-my-search-more-efficient-help-to-remov.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Now, if you'd let us know how the different searches are different from each other, then we can discuss how to set up a base search + postprocessing in order to meet your need.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Oct 2017 21:28:29 GMT</pubDate>
    <dc:creator>DalJeanis</dc:creator>
    <dc:date>2017-10-03T21:28:29Z</dc:date>
    <item>
      <title>Best Methods to Improve Performance of Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Best-Methods-to-Improve-Performance-of-Dashboard/m-p/365234#M107717</link>
      <description>&lt;P&gt;I have a dashboard with ~38 panels with 2 joins per panel. I'm curious what is the most costly for Splunk performance of a dashboard- is it the large number of panels I have or is it the number of joins I have in each? &lt;/P&gt;

&lt;P&gt;What are some common ways to improve the performance of a dashboard? Below is an example of one of my panels. I am doing some weird things with my location info because using the default value setting in my lookup table was throwing me a weird error. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=example date_month=August date_year=2017 (assignment_group="*") | dedup number | fillnull value="UNKNOWN" location | eval regionblank= "UNKNOWN" | eval countryblank= "UNKNOWN" | eval locationblank="UNKNOWN" | lookup CurrentSiteInfo.csv location| eval site=coalesce(location2,locationblank) | eval Region=coalesce(Region,regionblank)| eval Country=coalesce(Country,countryblank) | search ((Region="*") (Country="*") (site="*")) |stats count as Tickets by contact_type | join overwrite=false contact_type [search index=example earliest="6/01/2017:00:00:00" latest="12/31/2017:24:00:00" (assignment_group="*") | dedup number | fillnull value="UNKNOWN" location | eval regionblank= "UNKNOWN" | eval countryblank= "UNKNOWN" | eval locationblank="UNKNOWN" | lookup CurrentSiteInfo.csv location| eval site=coalesce(location2,locationblank) | eval Region=coalesce(Region,regionblank)| eval Country=coalesce(Country,countryblank) | search ((Region="*") (Country="*") (site="*"))| bucket _time span=1mon | stats count as Tickets by contact_type _time | stats avg(Tickets) as Baseline by contact_type | eval Baseline = round(Baseline,0)] | eval "Baseline Variance" = Tickets - Baseline | join overwrite=false contact_type [search index=example earliest=-3mon@mon (assignment_group="*") | dedup number | fillnull value="UNKNOWN" location | eval regionblank= "UNKNOWN" | eval countryblank= "UNKNOWN" | eval locationblank="UNKNOWN" | lookup CurrentSiteInfo.csv location| eval site=coalesce(location2,locationblank) | eval Region=coalesce(Region,regionblank)| eval Country=coalesce(Country,countryblank) | search ((Region="*") (Country="*") (site="*")) | bucket _time span=1mon | stats count as Tickets by contact_type _time | stats avg(Tickets) as Average by contact_type | eval Average = round(Average,0)] | eval "Average Variance" = Tickets - Average | table contact_type Tickets Baseline "Baseline Variance" Average "Average Variance" | addcoltotals | sort 0 Tickets
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Oct 2017 18:51:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Best-Methods-to-Improve-Performance-of-Dashboard/m-p/365234#M107717</guid>
      <dc:creator>katzr</dc:creator>
      <dc:date>2017-10-03T18:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Best Methods to Improve Performance of Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Best-Methods-to-Improve-Performance-of-Dashboard/m-p/365235#M107718</link>
      <description>&lt;P&gt;ask yourself if 38 panels are really necessary.&lt;BR /&gt;
you are tying 38 cores when you are starting this dashboard...&lt;BR /&gt;
there are plenty of other tricks like base search and more &lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2017 18:58:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Best-Methods-to-Improve-Performance-of-Dashboard/m-p/365235#M107718</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-10-03T18:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Best Methods to Improve Performance of Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Best-Methods-to-Improve-Performance-of-Dashboard/m-p/365236#M107719</link>
      <description>&lt;P&gt;This dashboard is for a customer who requested this high number of panels. Can you expand upon the "plenty of other tricks" &lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2017 19:01:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Best-Methods-to-Improve-Performance-of-Dashboard/m-p/365236#M107719</guid>
      <dc:creator>katzr</dc:creator>
      <dc:date>2017-10-03T19:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Best Methods to Improve Performance of Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Best-Methods-to-Improve-Performance-of-Dashboard/m-p/365237#M107720</link>
      <description>&lt;P&gt;Additionally to this advice, use a base search and post process the results &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/Savedsearches#Post-process_searches_2"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Viz/Savedsearches#Post-process_searches_2&lt;/A&gt;&lt;BR /&gt;
As base search use a search that skips the &lt;CODE&gt;join&lt;/CODE&gt; and use &lt;CODE&gt;stats&lt;/CODE&gt; instead, read here &lt;A href="http://sideviewapps.com/slides/2017_05_02_sideview_let_stats_sort_them_out.pptx"&gt;http://sideviewapps.com/slides/2017_05_02_sideview_let_stats_sort_them_out.pptx&lt;/A&gt; to get some create advice on how to use &lt;CODE&gt;stats&lt;/CODE&gt; or here &lt;A href="https://answers.splunk.com/answers/129424/how-to-compare-fields-over-multiple-sourcetypes-without-join-append-or-use-of-subsearches.html"&gt;https://answers.splunk.com/answers/129424/how-to-compare-fields-over-multiple-sourcetypes-without-join-append-or-use-of-subsearches.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2017 19:05:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Best-Methods-to-Improve-Performance-of-Dashboard/m-p/365237#M107720</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-10-03T19:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Best Methods to Improve Performance of Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Best-Methods-to-Improve-Performance-of-Dashboard/m-p/365238#M107721</link>
      <description>&lt;P&gt;so really depends on the use cases and on what the panels cover.&lt;BR /&gt;
you can create base searches, improve searches, set panels loading order look here: &lt;A href="https://answers.splunk.com/answers/513660/how-to-set-loading-order-for-panels.html"&gt;https://answers.splunk.com/answers/513660/how-to-set-loading-order-for-panels.html&lt;/A&gt;&lt;BR /&gt;
regardless, 38 panels is plenty, try and sort out the use cases and maybe split this dashboard to 5-6 dashboards.&lt;BR /&gt;
you can always increase the cpu on the system if this is a possibility&lt;BR /&gt;
hope it helps&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2017 19:08:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Best-Methods-to-Improve-Performance-of-Dashboard/m-p/365238#M107721</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-10-03T19:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Best Methods to Improve Performance of Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Best-Methods-to-Improve-Performance-of-Dashboard/m-p/365239#M107722</link>
      <description>&lt;P&gt;Okay, I know we've already reviewed and simplified that search for you.  &lt;/P&gt;

&lt;P&gt;Ah, you commented on it an hour ago.  We've given you that code over there.  &lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/578622/how-to-make-my-search-more-efficient-help-to-remov.html"&gt;https://answers.splunk.com/answers/578622/how-to-make-my-search-more-efficient-help-to-remov.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Now, if you'd let us know how the different searches are different from each other, then we can discuss how to set up a base search + postprocessing in order to meet your need.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2017 21:28:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Best-Methods-to-Improve-Performance-of-Dashboard/m-p/365239#M107722</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-10-03T21:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Best Methods to Improve Performance of Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Best-Methods-to-Improve-Performance-of-Dashboard/m-p/365240#M107723</link>
      <description>&lt;P&gt;Hi @DalJeanis I appreciate all of your help. A lot of the searches are the same format as the one above, but are looking at it from tickets by region, problem, category, etc. instead of contact_type. But the baseline and average parameters are the same. &lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 12:45:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Best-Methods-to-Improve-Performance-of-Dashboard/m-p/365240#M107723</guid>
      <dc:creator>katzr</dc:creator>
      <dc:date>2017-10-04T12:45:21Z</dc:date>
    </item>
  </channel>
</rss>

