<?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: Dashboards - concurrency in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23684#M887</link>
    <description>&lt;P&gt;Sorry not that helpful, but it's a vague memory I have that this worked that way.&lt;/P&gt;</description>
    <pubDate>Sun, 01 Aug 2010 04:33:16 GMT</pubDate>
    <dc:creator>gkanapathy</dc:creator>
    <dc:date>2010-08-01T04:33:16Z</dc:date>
    <item>
      <title>Dashboards - concurrency</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23681#M884</link>
      <description>&lt;P&gt;I've build a dashboard which contains 6 single-value queries. For admin, this is fine, but for general users they are getting caught with the limit of 3-concurrent queries at a time. This is causing the page not to fully load for a standard user.&lt;/P&gt;

&lt;P&gt;Obviously one solution is to up the concurrency limit for the user.&lt;/P&gt;

&lt;P&gt;BUT, is there any way I can alter the dashboard so it doesn't try and run all the queries concurrently ? I wouldn't care if it ran them 1 or 2 at a time and slowly built the page, as long as the page fully rendered in the end.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Jul 2010 19:26:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23681#M884</guid>
      <dc:creator>serialmonkey</dc:creator>
      <dc:date>2010-07-31T19:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboards - concurrency</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23682#M885</link>
      <description>&lt;P&gt;As you have found out, searches initiated to render dashboard panels are subject to the value of srchJobsQuota defined for the role assigned to the user running the dashboard.&lt;/P&gt;

&lt;P&gt;I am not aware of a configuration option for dashboards in simpleXML which allows to run the panel searches sequentially.&lt;/P&gt;

&lt;P&gt;You could possibly get around this restriction by re-thinking how you generate the search results used to build your dashboard panels. For example :&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;You could use "cached" results from a scheduled search for one of your panels. The search results from that panel will therefore not count agains srchJobsQuota.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/Developer/DashboardIntro#Searches_and_dashboards" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/Developer/DashboardIntro#Searches_and_dashboards&lt;/A&gt;
&lt;A href="http://www.splunk.com/base/Documentation/latest/Developer/SavedSearchesViews" target="test_blank"&gt;http://www.splunk.com/base/Documentation/latest/Developer/SavedSearchesViews&lt;/A&gt;&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;If applicable, you can use one "root" search to generate results that you can then process through several post-process searches, each resulting in a different dashboard panel. There are some restrictions to the usage of searchPostProcess, but if it's applicable to your dashboard it will save your indexer(s) a lot of resources running fewer searches and the display of your dashboard will be faster.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/4.1.4/Developer/PostProcess" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/4.1.4/Developer/PostProcess&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Aug 2010 04:11:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23682#M885</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2010-08-01T04:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboards - concurrency</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23683#M886</link>
      <description>&lt;P&gt;I &lt;EM&gt;thought&lt;/EM&gt; there was some configuration actually in the  UI such that searches that could no be dispatched immediately due to quota &lt;EM&gt;would&lt;/EM&gt; be held for a short period (a few seconds) to fill in a dashboard. It's possible maybe your jobs take too long for this to work, or that it doesn't apply to role quotas (only systemwide job limits).&lt;/P&gt;</description>
      <pubDate>Sun, 01 Aug 2010 04:32:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23683#M886</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-08-01T04:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboards - concurrency</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23684#M887</link>
      <description>&lt;P&gt;Sorry not that helpful, but it's a vague memory I have that this worked that way.&lt;/P&gt;</description>
      <pubDate>Sun, 01 Aug 2010 04:33:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23684#M887</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-08-01T04:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboards - concurrency</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23685#M888</link>
      <description>&lt;P&gt;Thanks for the suggestion. I've tried taking the 'HiddenPostProcess' approach, but I'm coming up stuck.&lt;/P&gt;

&lt;P&gt;Is there any restriction in using the 'where' command in a HiddenPostProcess ?&lt;/P&gt;

&lt;P&gt;For instance, by base search looks like&lt;/P&gt;

&lt;P&gt;sourcetype="mytype"   (with the appropriate XML-style quotes)&lt;/P&gt;

&lt;P&gt;then my postprocess command is&lt;/P&gt;

&lt;P&gt;|where field="value"&lt;/P&gt;

&lt;P&gt;Doing this in a standard search works fine, but in a postprocess just always give me no results.&lt;/P&gt;</description>
      <pubDate>Sun, 01 Aug 2010 19:05:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23685#M888</guid>
      <dc:creator>serialmonkey</dc:creator>
      <dc:date>2010-08-01T19:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboards - concurrency</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23686#M889</link>
      <description>&lt;P&gt;I think you are hitting into one of the limitations of PostProcess : Essentially, you shouldn't set your main search to pass a set of events to your PostProcess(es).&lt;/P&gt;

&lt;P&gt;Check this section of the Developer Manual : &lt;A href="http://www.splunk.com/base/Documentation/4.1.4/Developer/PostProcess#Construct_your_base_search"&gt;http://www.splunk.com/base/Documentation/4.1.4/Developer/PostProcess#Construct_your_base_search&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I recommend to restructure your base search so that it passes the information needed for your PostProcess as a table, typically by using "stats count by &lt;FIELD1&gt;, &lt;FIELD2&gt;, &lt;FIELD3&gt;". Make sure you include all of the fields you intend to build your statistics on.&lt;/FIELD3&gt;&lt;/FIELD2&gt;&lt;/FIELD1&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2010 05:17:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23686#M889</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2010-08-03T05:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboards - concurrency</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23687#M890</link>
      <description>&lt;P&gt;Unfortunatly I cannot see how todo that in my particular case. I'm trying to build a page which shows the uptime of our 6 applications. The base query is returning a list of 6 events - one for each application. Even if I were to build this as a table, how can I structure size seperate SingleValue PostProcess modules to extract each row one at a time ?&lt;/P&gt;

&lt;P&gt;Thanks for the help.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2010 20:09:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23687#M890</guid>
      <dc:creator>serialmonkey</dc:creator>
      <dc:date>2010-08-03T20:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboards - concurrency</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23688#M891</link>
      <description>&lt;P&gt;It's difficult for me to answer that without looking at the structure of your events and also without knowing what you want to display with your postProcess.&lt;BR /&gt;
If you use splunk.pastebin.com to post the raw data of your events (also indicating the fields you're interested in), I can try to comment more accurately on your use-case.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2010 01:42:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23688#M891</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2010-08-04T01:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboards - concurrency</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23689#M892</link>
      <description>&lt;P&gt;Thanks, your pointers pushed me in the right direction. Formatted the exact same information as a table instead of an event (using some non-sensical stats commands) and everything is well. Thanks !&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2010 20:23:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23689#M892</guid>
      <dc:creator>serialmonkey</dc:creator>
      <dc:date>2010-08-04T20:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboards - concurrency</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23690#M893</link>
      <description>&lt;P&gt;Glad to hear that &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
I'll try to touch up the docs a bit so that the restrictions of searchPostProcess are easier to understand and overcome.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2010 23:52:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboards-concurrency/m-p/23690#M893</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2010-08-04T23:52:51Z</dc:date>
    </item>
  </channel>
</rss>

