<?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: addinfo command  bug in splunk 7.1.4 version in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/addinfo-command-bug-in-splunk-7-1-4-version/m-p/410970#M27001</link>
    <description>&lt;P&gt;This is definitely a divergence in behavior and IMHO a bug (but perhaps splunk will say it is a feature).  You *D*E*F*I*N*T*E*L*Y need to open a support case!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 22:50:21 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2020-09-29T22:50:21Z</dc:date>
    <item>
      <title>addinfo command  bug in splunk 7.1.4 version</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/addinfo-command-bug-in-splunk-7-1-4-version/m-p/410967#M26998</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I have upgraded 6.6.2 version  to 7.1.4 splunk Enterprise.&lt;BR /&gt;
Everthing is good But when am selecting date range am getting wrong epochs related to that time range.&lt;STRONG&gt;info_min_time&lt;/STRONG&gt; and &lt;STRONG&gt;info_max_time&lt;/STRONG&gt;..&lt;/P&gt;

&lt;P&gt;This is in 6.6.2 splunk Enterprise-Here it will give correct results in single right side is results of addinfo query.&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/263668-662.jpg" alt="selecting date range image in splunk 6.6.2 version" /&gt;&lt;/P&gt;

&lt;P&gt;This is the default time for date picker &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;input type="time" token="time1"&amp;gt;
      &amp;lt;label&amp;gt;Date &amp;amp;amp; Time Range&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;
        &amp;lt;earliest&amp;gt;-1d@d+07h+30m&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;-0d@d+07h+30m&amp;lt;/latest&amp;gt;
      &amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is the query for date range selection &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|gentimes start=-1 | addinfo |eval begin_filter_date=strftime(info_min_time,"%x %X"), end_filter_date=strftime(info_max_time,"%x %X")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is 7.1.4 version selection.Here it will give wrong values time 12:30 like&lt;BR /&gt;
that &lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/263669-714.jpg" alt="date rang selection in splunk 7.1.4 iage" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:48:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/addinfo-command-bug-in-splunk-7-1-4-version/m-p/410967#M26998</guid>
      <dc:creator>harishalipaka</dc:creator>
      <dc:date>2020-09-29T22:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: addinfo command  bug in splunk 7.1.4 version</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/addinfo-command-bug-in-splunk-7-1-4-version/m-p/410968#M26999</link>
      <description>&lt;P&gt;Hi I dont know if this is a bug or not:&lt;/P&gt;

&lt;P&gt;Try restarting splunk instance or adjusting splunk local time to your timezone.&lt;BR /&gt;
If this does not help then you can ajust the offset in your query like this :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| gentimes start=-1 
| eval earliest="$time1.earliest$",latest="$time1.latest$" 
| eval earliest=if(earliest="-1d@d+07h+30m",relative_time(now(),"-1d@d+07h+30m"),earliest),latest=if(latest="-0d@d+07h+30m",relative_time(now(),"-0d@d+07h+30m"),latest) 
| eval begin_filter_date=strftime(earliest,"%x %X") 
| eval end_filter_date=strftime(latest,"%x %X") 
| eval results=begin_filter_date+" to "+end_filter_date 
| table results
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 09:55:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/addinfo-command-bug-in-splunk-7-1-4-version/m-p/410968#M26999</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2019-01-17T09:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: addinfo command  bug in splunk 7.1.4 version</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/addinfo-command-bug-in-splunk-7-1-4-version/m-p/410969#M27000</link>
      <description>&lt;P&gt;hi @mayurr98 &lt;/P&gt;

&lt;P&gt;this is good but am getting correct epochs earliest and latest.&lt;BR /&gt;
But when am trying to convert readable time  ,it will give 12:30&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 12:24:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/addinfo-command-bug-in-splunk-7-1-4-version/m-p/410969#M27000</guid>
      <dc:creator>harishalipaka</dc:creator>
      <dc:date>2019-01-17T12:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: addinfo command  bug in splunk 7.1.4 version</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/addinfo-command-bug-in-splunk-7-1-4-version/m-p/410970#M27001</link>
      <description>&lt;P&gt;This is definitely a divergence in behavior and IMHO a bug (but perhaps splunk will say it is a feature).  You *D*E*F*I*N*T*E*L*Y need to open a support case!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:50:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/addinfo-command-bug-in-splunk-7-1-4-version/m-p/410970#M27001</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-09-29T22:50:21Z</dc:date>
    </item>
  </channel>
</rss>

