<?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: Time range problem in advance XML dashboard (timerangepicker) in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Time-range-problem-in-advance-XML-dashboard-timerangepicker/m-p/137981#M8294</link>
    <description>&lt;P&gt;Post processing has a limit of 10000 events, so if your base search generates more results than that they will never make it to the postprocess modules. You should try to aggregate your results in your base search so that the data passed on from it doesn't surpass this 1000 events limit. If this is not possible, you will need to convert your postprocess searches to individual searches instead. See more here: &lt;A href="http://answers.splunk.com/answers/62534/hiddenpostprocess-silently-discarding-results"&gt;http://answers.splunk.com/answers/62534/hiddenpostprocess-silently-discarding-results&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2013 11:03:00 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2013-11-12T11:03:00Z</dc:date>
    <item>
      <title>Time range problem in advance XML dashboard (timerangepicker)</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Time-range-problem-in-advance-XML-dashboard-timerangepicker/m-p/137974#M8287</link>
      <description>&lt;P&gt;I have a dashboard which uses advance xml  for web proxy log analysis (ironport). It allows to select the time range from the drop down list. Everything seems to be working OK except when I select the date range for more than 7 days e.g. last 30 days or a specific date range, it still only displays last 7 days worth of data/chart.&lt;/P&gt;

&lt;P&gt;However, if I take the same query in search (not dashboard), it shows/displays correct data/chart. So I must be doing something strange in XML. I have copied relevant part of the XML that uses TimeRangePicker.&lt;/P&gt;

&lt;P&gt;Can anyone help me to point out what I may be doing wrong?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="TimeRangePicker" layoutPanel="panel_row1_col1_grp2"&amp;gt;
            &amp;lt;param name="searchWhenChanged"&amp;gt;false&amp;lt;/param&amp;gt;
            &amp;lt;module name="SubmitButton"&amp;gt;
                &amp;lt;param name="allowSoftSubmit"&amp;gt;false&amp;lt;/param&amp;gt;
                &amp;lt;param name="label"&amp;gt;Search&amp;lt;/param&amp;gt;
                &amp;lt;module name="JobStatus" layoutPanel="viewHeader"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Nov 2013 06:12:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Time-range-problem-in-advance-XML-dashboard-timerangepicker/m-p/137974#M8287</guid>
      <dc:creator>ashabc</dc:creator>
      <dc:date>2013-11-12T06:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Time range problem in advance XML dashboard (timerangepicker)</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Time-range-problem-in-advance-XML-dashboard-timerangepicker/m-p/137975#M8288</link>
      <description>&lt;P&gt;I think the problem lies not in this section of the XML but rather in the search you're using. Could you please paste the search part as well, please.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2013 08:06:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Time-range-problem-in-advance-XML-dashboard-timerangepicker/m-p/137975#M8288</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-11-12T08:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Time range problem in advance XML dashboard (timerangepicker)</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Time-range-problem-in-advance-XML-dashboard-timerangepicker/m-p/137976#M8289</link>
      <description>&lt;P&gt;Thank you Ayn for taking time to respond to my post.&lt;/P&gt;

&lt;P&gt;I think the problem is that the base search is not providing all data inputs to postprocesssearch as described in &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/4.1.5/Developer/PostProcess"&gt;http://docs.splunk.com/Documentation/Splunk/4.1.5/Developer/PostProcess&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Here is my search string:&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2013 09:34:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Time-range-problem-in-advance-XML-dashboard-timerangepicker/m-p/137976#M8289</guid>
      <dc:creator>ashabc</dc:creator>
      <dc:date>2013-11-12T09:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Time range problem in advance XML dashboard (timerangepicker)</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Time-range-problem-in-advance-XML-dashboard-timerangepicker/m-p/137977#M8290</link>
      <description>&lt;P&gt;Base search&lt;/P&gt;

&lt;P&gt;eventtype=ironport_proxy loginid="$loginid$" s_hostname!="-" | fields date_wday date_hour src_ip s_hostname sc_bytes usage x_webcat_code_full "Display Name"&lt;/P&gt;

&lt;P&gt;Post process searches are:&lt;/P&gt;

&lt;P&gt;table "Display Name&lt;/P&gt;

&lt;P&gt;stats max(_time) as first_time min(_time) as last_time | eval time_period = tostring(strftime(last_time, "%d/%m/%y %I:%M %p")) + " to " + tostring(strftime(first_time, "%d/%m/%y %I:%M %p")) | fields - first_time last_time&lt;/P&gt;

&lt;P&gt;timechart count by usage&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:15:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Time-range-problem-in-advance-XML-dashboard-timerangepicker/m-p/137977#M8290</guid>
      <dc:creator>ashabc</dc:creator>
      <dc:date>2020-09-28T15:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Time range problem in advance XML dashboard (timerangepicker)</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Time-range-problem-in-advance-XML-dashboard-timerangepicker/m-p/137978#M8291</link>
      <description>&lt;P&gt;eval wd=lower(date_wday) | eval sort_field=case(wd=="monday",1, wd=="tuesday",2, wd=="wednesday",3, wd=="thursday",4, wd=="friday",5, wd=="saturday",6, wd=="sunday",7) | chart count over sort_field by usage | eval sort_field = case(sort_field=1,"Monday", sort_field=2,"Tuesday", sort_field=3,"Wednesday", sort_field=4,"Thursday", sort_field=5,"Friday", sort_field=6,"Saturday", sort_field=7,"Sunday")&lt;/P&gt;

&lt;P&gt;bucket _time span=1h | eval hour=strftime(_time,"%H:00") | chart count over hour by usage&lt;/P&gt;

&lt;P&gt;top limit=10 usage&lt;/P&gt;

&lt;P&gt;top limit=10 x_webcat_code_full&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:15:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Time-range-problem-in-advance-XML-dashboard-timerangepicker/m-p/137978#M8291</guid>
      <dc:creator>ashabc</dc:creator>
      <dc:date>2020-09-28T15:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Time range problem in advance XML dashboard (timerangepicker)</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Time-range-problem-in-advance-XML-dashboard-timerangepicker/m-p/137979#M8292</link>
      <description>&lt;P&gt;stats count by usage | sort limit=10 count desc | rename count as Hits&lt;/P&gt;

&lt;P&gt;stats count by x_webcat_code_full |rename x_webcat_code_full AS category  |sort limit=10 count desc | rename count as Hits&lt;/P&gt;

&lt;P&gt;timechart count by usage | fields – NULL&lt;/P&gt;

&lt;P&gt;timechart count by x_webcat_code_full | fields – NULL&lt;/P&gt;

&lt;P&gt;top limit=10 src_ip&lt;/P&gt;

&lt;P&gt;eval MegaByte=sc_bytes/1048576 | stats max(MegaByte) by s_hostname | sort limit=10 max(MegaByte) desc&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:15:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Time-range-problem-in-advance-XML-dashboard-timerangepicker/m-p/137979#M8292</guid>
      <dc:creator>ashabc</dc:creator>
      <dc:date>2020-09-28T15:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Time range problem in advance XML dashboard (timerangepicker)</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Time-range-problem-in-advance-XML-dashboard-timerangepicker/m-p/137980#M8293</link>
      <description>&lt;P&gt;top limit=50 s_hostname showperc=0&lt;/P&gt;

&lt;P&gt;top limit=50 s_hostname showperc=0&lt;/P&gt;

&lt;P&gt;rex field=s_hostname mode=sed "s/^&lt;A href="http://www.*?%5C.//g" target="_blank"&gt;www.*?\.//g&lt;/A&gt;" |  transaction maxevents=-1 keepevicted=true s_hostname maxpause=5m maxspan=1h | stats count by s_hostname | rename s_hostname as Domain count as Sessions | sort 50 –Sessions&lt;/P&gt;

&lt;P&gt;top limit=50 s_hostname | sort desc&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:15:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Time-range-problem-in-advance-XML-dashboard-timerangepicker/m-p/137980#M8293</guid>
      <dc:creator>ashabc</dc:creator>
      <dc:date>2020-09-28T15:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Time range problem in advance XML dashboard (timerangepicker)</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Time-range-problem-in-advance-XML-dashboard-timerangepicker/m-p/137981#M8294</link>
      <description>&lt;P&gt;Post processing has a limit of 10000 events, so if your base search generates more results than that they will never make it to the postprocess modules. You should try to aggregate your results in your base search so that the data passed on from it doesn't surpass this 1000 events limit. If this is not possible, you will need to convert your postprocess searches to individual searches instead. See more here: &lt;A href="http://answers.splunk.com/answers/62534/hiddenpostprocess-silently-discarding-results"&gt;http://answers.splunk.com/answers/62534/hiddenpostprocess-silently-discarding-results&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2013 11:03:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Time-range-problem-in-advance-XML-dashboard-timerangepicker/m-p/137981#M8294</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-11-12T11:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Time range problem in advance XML dashboard (timerangepicker)</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Time-range-problem-in-advance-XML-dashboard-timerangepicker/m-p/137982#M8295</link>
      <description>&lt;P&gt;I ended up increasing the maxcount to 100000 in hiddensearch (&lt;OBJECT&gt;&lt;PARAM name="maxCount" /&gt;100000). I know its not the best practice, but for this dashboard, I don't have much option, it seems.&lt;/OBJECT&gt;&lt;/P&gt;

&lt;P&gt;Thank you for you help Ayn.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 02:50:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Time-range-problem-in-advance-XML-dashboard-timerangepicker/m-p/137982#M8295</guid>
      <dc:creator>ashabc</dc:creator>
      <dc:date>2013-11-13T02:50:15Z</dc:date>
    </item>
  </channel>
</rss>

