<?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: bins for count values in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300684#M19125</link>
    <description>&lt;P&gt;Great! So glad it worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jan 2018 16:49:43 GMT</pubDate>
    <dc:creator>elliotproebstel</dc:creator>
    <dc:date>2018-01-10T16:49:43Z</dc:date>
    <item>
      <title>bins for count values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300675#M19116</link>
      <description>&lt;P&gt;Hi at all,&lt;BR /&gt;
I have a problem that I don't know if it's solveble:&lt;/P&gt;

&lt;P&gt;I have a search with a stats command with a values option (e.g.  &lt;CODE&gt;| stats values(prog) AS prog  BY key&lt;/CODE&gt; )&lt;BR /&gt;
prog can have few and many values &lt;BR /&gt;
I have to use key and prog in a drilldown in another dashboard.&lt;BR /&gt;
I created an hidden field to pass to drilldown progs with the "OR" separators ( &lt;CODE&gt;value1 OR value2 OR value3 OR ...&lt;/CODE&gt; )&lt;BR /&gt;
This drilldown correctly runs when I have not many progs (until around 150 progs) but when I have more progs I reach the limit of URL legth (error message "Request-URI Too Long").&lt;/P&gt;

&lt;P&gt;So how can i solve the problem?&lt;BR /&gt;
I thought to show in my main dashboard one row every 150 progs and use them in drilldown but I don't know if it's possible and how to do that.&lt;BR /&gt;
Has anyone any idea?&lt;BR /&gt;
Thank you.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 14:02:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300675#M19116</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-01-10T14:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: bins for count values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300676#M19117</link>
      <description>&lt;P&gt;What's the max number of prog that you may  pass to other dashboard?? Can you try using a single character delimiter (instead of  &lt;CODE&gt;OR&lt;/CODE&gt;) to reduce some length?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 15:16:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300676#M19117</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-01-10T15:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: bins for count values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300677#M19118</link>
      <description>&lt;P&gt;If I understand correctly, you're trying to pass the results of &lt;CODE&gt;...|stats values(prog) AS prog BY key | where key=$click.value$&lt;/CODE&gt; or something along those lines, right? And the table that the user will click on in your first dashboard will be populated by the query &lt;CODE&gt;... | stats values(prog) AS prog BY key&lt;/CODE&gt;. So perhaps instead of passing all the actual values (the normal and clean way of doing things, yes), you could pass the SID of the search that populated the first dashboard along with &lt;CODE&gt;$click.value$&lt;/CODE&gt; and have the second dashboard contain a hidden search that evaluates &lt;CODE&gt;| loadjob $passed_sid$ | where key=$passed_click_value$&lt;/CODE&gt; and puts that into a token. That should bypass the URL length limitation.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 15:38:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300677#M19118</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2018-01-10T15:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: bins for count values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300678#M19119</link>
      <description>&lt;P&gt;Hi somesoni2,&lt;BR /&gt;
I could have thousands of progs because it's a field of 7 chars that contains the line number with an error.&lt;BR /&gt;
I used OR because I have to put in OR condition all the values to use in the secondary dashboard.&lt;BR /&gt;
Thanks.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 15:44:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300678#M19119</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-01-10T15:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: bins for count values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300679#M19120</link>
      <description>&lt;P&gt;Yeah... if it can be thousands, minimizing length of delimiter will not help here (though you could run a subsearch to split it in drilldown dashbord). You can try @elliotproebstel's suggestion of passing SID, or another alternative could be to write the result to a (temp) lookup table and refer to lookup table on drilldown dashboard.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 16:01:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300679#M19120</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-01-10T16:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: bins for count values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300680#M19121</link>
      <description>&lt;P&gt;Hi elliotproebstel,&lt;BR /&gt;
help me to understand:&lt;BR /&gt;
in main dashboard I have to insert after the search &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;done&amp;gt;
   &amp;lt;set token="MySearchJobSID"&amp;gt;$job.sid$&amp;lt;/set&amp;gt;
 &amp;lt;/done&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and use it as drilldown parameter:&lt;BR /&gt;
two drilldown parameters:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;MySearchJobSID&lt;/CODE&gt;,&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;passed_click_value=$click.value$&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;In the second dashboard, I have to insert an hidden search &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| loadjob $passed_sid$ 
| where key=$passed_click_value$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then use result as token in my secondary search, is it correct?&lt;/P&gt;

&lt;P&gt;I immediately try.&lt;/P&gt;

&lt;P&gt;Thank you.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 16:05:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300680#M19121</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-01-10T16:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: bins for count values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300681#M19122</link>
      <description>&lt;P&gt;Yeah, that's the sketch of what I'd try. If that doesn't work, @somesoni2's suggestion of using a temporary lookup table is the only other idea I had, as well. It has the disadvantage of either potentially creating a lot of temporary dynamically-named lookups that will require cleanup or of using a single statically-named lookup that could encounter race conditions if more than one person uses the dashboard.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 16:32:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300681#M19122</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2018-01-10T16:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: bins for count values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300682#M19123</link>
      <description>&lt;P&gt;I passed SID to the secondary search as you suggested, now the problem is to create a token in an hidden search:&lt;BR /&gt;
I tried with            &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;set token="prog_token"&amp;gt;$row.prog_token$&amp;lt;/set&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But it doesn't run I continue!&lt;BR /&gt;
Thanks.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 16:37:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300682#M19123</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-01-10T16:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: bins for count values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300683#M19124</link>
      <description>&lt;P&gt;Great it runs!&lt;BR /&gt;
Thank you very much!&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 16:42:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300683#M19124</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-01-10T16:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: bins for count values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300684#M19125</link>
      <description>&lt;P&gt;Great! So glad it worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 16:49:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/bins-for-count-values/m-p/300684#M19125</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2018-01-10T16:49:43Z</dc:date>
    </item>
  </channel>
</rss>

