<?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 Why is my dashboard panel showing different values from the base report? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-dashboard-panel-showing-different-values-from-the-base/m-p/205911#M59886</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I wonder if someone can help me on something. I created a report which runs absolutely fine no matter when I run it. I added the report to a dashboard panel, but now some values are missing.&lt;/P&gt;

&lt;P&gt;This is the search string:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=risk sourcetype=feed_info 
| eval sys1_arrival_time=if(sys1_arrival_time=="NULL", "",sys1_arrival_time ) 
| eval sys2_end_time=if(sys2_end_time=="NULL", "",sys2_end_time ) 
| eval timenow=now() | eval nowstring=strftime(now(), "%Y-%m-%d") 
| eval sys1_exp_time_string=nowstring+" "+tostring(system1_expected_time) 
| eval sys1_exp_time_epoch=strptime(sys1_exp_time_string, "%Y-%m-%d %H:%M:%S") | eval sys1_arrival_time_epoch=strptime(sys1_arrival_time, "%Y-%m-%d %H:%M:%S") 
| eval sys1_status=case(timenow&amp;gt;sys1_exp_time_epoch AND isnull(sys1_arrival_time_epoch), "Late", timenowsys1_exp_time_epoch, "OK (Arrived Late)", sys1_arrival_time_epoch&amp;lt;=sys1_exp_time_epoch, "OK") | eval sys2_exp_time_string=nowstring+" "+tostring(system2_expected_time) 
| eval sys2_exp_time_epoch=strptime(sys2_exp_time_string, "%Y-%m-%d %H:%M:%S") | eval sys2_end_time_epoch=strptime(sys2_end_time, "%Y-%m-%d %H:%M:%S") 
| eval sys2_status=case(timenow&amp;gt;sys2_exp_time_epoch AND isnull(sys2_end_time_epoch), "Late", timenowsys2_exp_time_epoch, "OK (Finished Late)", sys2_end_time_epoch&amp;lt;=sys2_exp_time_epoch, "OK") 
| table value_date,feedname, sys1_exp_time_string,sys1_arrival_time, sys1_status, sys2_exp_time_string,sys2_end_time, sys2_status 
| rename sys1_exp_time_string AS sys1_expected_time, sys2_exp_time_string as "sys2_expected_time"  
| dedup 1 feedname
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The different values are the sys1_status and sys2_status. Curiously these two are calculated fields, based on time. I also noticed that the issue happens after 6pm - during the day it works fine.&lt;/P&gt;

&lt;P&gt;Faulty Panel:  &lt;A href="http://s000.tinyupload.com/?file_id=06140936697604993623" target="_blank"&gt;http://s000.tinyupload.com/?file_id=06140936697604993623&lt;/A&gt;&lt;BR /&gt;
Working Report:  &lt;A href="http://s000.tinyupload.com/?file_id=76794376457864993058" target="_blank"&gt;http://s000.tinyupload.com/?file_id=76794376457864993058&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Both screenshots were taken at the same time.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 10:28:39 GMT</pubDate>
    <dc:creator>robettinger</dc:creator>
    <dc:date>2020-09-29T10:28:39Z</dc:date>
    <item>
      <title>Why is my dashboard panel showing different values from the base report?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-dashboard-panel-showing-different-values-from-the-base/m-p/205911#M59886</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I wonder if someone can help me on something. I created a report which runs absolutely fine no matter when I run it. I added the report to a dashboard panel, but now some values are missing.&lt;/P&gt;

&lt;P&gt;This is the search string:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=risk sourcetype=feed_info 
| eval sys1_arrival_time=if(sys1_arrival_time=="NULL", "",sys1_arrival_time ) 
| eval sys2_end_time=if(sys2_end_time=="NULL", "",sys2_end_time ) 
| eval timenow=now() | eval nowstring=strftime(now(), "%Y-%m-%d") 
| eval sys1_exp_time_string=nowstring+" "+tostring(system1_expected_time) 
| eval sys1_exp_time_epoch=strptime(sys1_exp_time_string, "%Y-%m-%d %H:%M:%S") | eval sys1_arrival_time_epoch=strptime(sys1_arrival_time, "%Y-%m-%d %H:%M:%S") 
| eval sys1_status=case(timenow&amp;gt;sys1_exp_time_epoch AND isnull(sys1_arrival_time_epoch), "Late", timenowsys1_exp_time_epoch, "OK (Arrived Late)", sys1_arrival_time_epoch&amp;lt;=sys1_exp_time_epoch, "OK") | eval sys2_exp_time_string=nowstring+" "+tostring(system2_expected_time) 
| eval sys2_exp_time_epoch=strptime(sys2_exp_time_string, "%Y-%m-%d %H:%M:%S") | eval sys2_end_time_epoch=strptime(sys2_end_time, "%Y-%m-%d %H:%M:%S") 
| eval sys2_status=case(timenow&amp;gt;sys2_exp_time_epoch AND isnull(sys2_end_time_epoch), "Late", timenowsys2_exp_time_epoch, "OK (Finished Late)", sys2_end_time_epoch&amp;lt;=sys2_exp_time_epoch, "OK") 
| table value_date,feedname, sys1_exp_time_string,sys1_arrival_time, sys1_status, sys2_exp_time_string,sys2_end_time, sys2_status 
| rename sys1_exp_time_string AS sys1_expected_time, sys2_exp_time_string as "sys2_expected_time"  
| dedup 1 feedname
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The different values are the sys1_status and sys2_status. Curiously these two are calculated fields, based on time. I also noticed that the issue happens after 6pm - during the day it works fine.&lt;/P&gt;

&lt;P&gt;Faulty Panel:  &lt;A href="http://s000.tinyupload.com/?file_id=06140936697604993623" target="_blank"&gt;http://s000.tinyupload.com/?file_id=06140936697604993623&lt;/A&gt;&lt;BR /&gt;
Working Report:  &lt;A href="http://s000.tinyupload.com/?file_id=76794376457864993058" target="_blank"&gt;http://s000.tinyupload.com/?file_id=76794376457864993058&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Both screenshots were taken at the same time.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:28:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-dashboard-panel-showing-different-values-from-the-base/m-p/205911#M59886</guid>
      <dc:creator>robettinger</dc:creator>
      <dc:date>2020-09-29T10:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my dashboard panel showing different values from the base report?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-dashboard-panel-showing-different-values-from-the-base/m-p/205912#M59887</link>
      <description>&lt;P&gt;Hmmmm... I also noticed that the number of events are less in the dashboard and that the search runs in fast mode. Is there a way to force verbose mode?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 18:30:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-dashboard-panel-showing-different-values-from-the-base/m-p/205912#M59887</guid>
      <dc:creator>robettinger</dc:creator>
      <dc:date>2016-08-04T18:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my dashboard panel showing different values from the base report?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-dashboard-panel-showing-different-values-from-the-base/m-p/205913#M59888</link>
      <description>&lt;P&gt;It's probably truncating your results in the dashboard. If you adjust your time span more in your timetable or what have you... it will look even on the display.&lt;/P&gt;

&lt;P&gt;I'm sure there's a way to modify slunk truncation rules. Or at least a better work arounds&lt;/P&gt;</description>
      <pubDate>Sat, 06 Aug 2016 00:35:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-dashboard-panel-showing-different-values-from-the-base/m-p/205913#M59888</guid>
      <dc:creator>Jarohnimo</dc:creator>
      <dc:date>2016-08-06T00:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my dashboard panel showing different values from the base report?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-dashboard-panel-showing-different-values-from-the-base/m-p/205914#M59889</link>
      <description>&lt;P&gt;Yes, it is truncating results, probably because it's running a fast (instead of a verbose) search. Just don't know how to force a verbose search on dashboard panels...&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 09:04:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-dashboard-panel-showing-different-values-from-the-base/m-p/205914#M59889</guid>
      <dc:creator>robettinger</dc:creator>
      <dc:date>2016-08-10T09:04:07Z</dc:date>
    </item>
  </channel>
</rss>

