<?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: future events on timechart in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/future-events-on-timechart/m-p/70109#M3754</link>
    <description>&lt;P&gt;It's the default setting of a key called MAX_DAYS_HENCE.   Splunk is hitting up against a failsafe here.  You should weaken it just for that particular sourcetype.  &lt;/P&gt;

&lt;P&gt;here are the docs: &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Configuretimestamprecognition" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Configuretimestamprecognition&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 11:54:54 GMT</pubDate>
    <dc:creator>sideview</dc:creator>
    <dc:date>2020-09-28T11:54:54Z</dc:date>
    <item>
      <title>future events on timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/future-events-on-timechart/m-p/70108#M3753</link>
      <description>&lt;P&gt;I am trying to index data for future events (reservation searches), to (line)chart when people are looking to travel.  These dates range from a year ago to a few years in the future.  It seems to be giving future events a timestamp of 3 days from the time the data was loaded.&lt;/P&gt;

&lt;P&gt;Is there any trick to this?  &lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2012 17:28:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/future-events-on-timechart/m-p/70108#M3753</guid>
      <dc:creator>s8ea8n</dc:creator>
      <dc:date>2012-06-07T17:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: future events on timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/future-events-on-timechart/m-p/70109#M3754</link>
      <description>&lt;P&gt;It's the default setting of a key called MAX_DAYS_HENCE.   Splunk is hitting up against a failsafe here.  You should weaken it just for that particular sourcetype.  &lt;/P&gt;

&lt;P&gt;here are the docs: &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Configuretimestamprecognition" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Configuretimestamprecognition&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:54:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/future-events-on-timechart/m-p/70109#M3754</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2020-09-28T11:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: future events on timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/future-events-on-timechart/m-p/70110#M3755</link>
      <description>&lt;P&gt;So it looks like there is a timestamp confusion here. The timestamp that Splunk creates when it indexes data is ideally drawn from the time the event was written to the log file/database/etc. In your use case here it seems that date fields you are working with are separate from the timestamp. &lt;/P&gt;

&lt;P&gt;So to make up an example:&lt;/P&gt;

&lt;P&gt;June 7, 2012 15:37 EDT Requested reservation SFO - LAX out: Sept 1 2012 return: Sept 10 2012&lt;/P&gt;

&lt;P&gt;In my made up example here "June 7 2012 15:37 EDT" would be the timestamp. It's the time and date i attempted to make the reservation. The subsequent dates Sept 1 and Sept 10 are not the timestamp, they are just date based fields contained in the data. You want to run reports on the date fields not the timestamp.&lt;/P&gt;

&lt;P&gt;Not knowing exactly what your data looks like I can't give you specifics on how to let Splunk know the difference between a date field and the actual timestamp of the event. BUT I can point you to this doc page:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.2/Data/HowSplunkextractstimestamps" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.2/Data/HowSplunkextractstimestamps&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For your particular use case it &lt;EM&gt;may&lt;/EM&gt; make sense to disable timestamping all together:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.2/Data/TuneTimestampExtractionForBetterIndexingPerformance#Disable_timestamp_processor" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.2/Data/TuneTimestampExtractionForBetterIndexingPerformance#Disable_timestamp_processor&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Then you can extract out the reservation dates as separate fields and run your reports against those fields.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.2/Knowledge/Addfieldsatsearchtime" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.2/Knowledge/Addfieldsatsearchtime&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also the reason no dates beyond 3 days in the future would index is because Splunk is set to automatically ignore future timestamps beyond 3 days. &lt;/P&gt;

&lt;P&gt;See the Max_Days_Hence information here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/admin/propsconf" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/admin/propsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If you are using Splunk 4.3 the Preview feature in Manager can be VERY helpful when you need to teach Splunk where to look and where NOT to look for a timestamp.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:54:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/future-events-on-timechart/m-p/70110#M3755</guid>
      <dc:creator>DrewO</dc:creator>
      <dc:date>2020-09-28T11:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: future events on timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/future-events-on-timechart/m-p/70111#M3756</link>
      <description>&lt;P&gt;Thanks. Disabling timestamping did the trick and the other references helped with understanding why.  Below is my working search after making the change.&lt;/P&gt;

&lt;P&gt;index=CALENDAR_SEARCHES | convert timeformat="%Y-%m-%d %T" mktime(CALENDAR_DATE) | fieldformat CALENDAR_DATE=strftime(CALENDAR_DATE,"%Y-%m-%d %T") | makecontinuous CALENDAR_DATE span=1m | chart avg(COUNT) by CALENDAR_DATE&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:55:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/future-events-on-timechart/m-p/70111#M3756</guid>
      <dc:creator>s8ea8n</dc:creator>
      <dc:date>2020-09-28T11:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: future events on timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/future-events-on-timechart/m-p/70112#M3757</link>
      <description>&lt;P&gt;I guess I was assuming that these timestamps were the "correct" times that you wanted the events indexed at. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;  Sounds like that was not the case.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jun 2012 02:41:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/future-events-on-timechart/m-p/70112#M3757</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2012-06-09T02:41:31Z</dc:date>
    </item>
  </channel>
</rss>

