<?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 assign cron time to timestamp in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/assign-cron-time-to-timestamp/m-p/519682#M87865</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a rest call that runs every 24hours, and the number of events that are returned are in the region of +500 000 this obviously takes a few minutes to get everything into Splunk.&lt;/P&gt;&lt;P&gt;The problem is that the timestamps are completely out, I want all events to have the cron timestamp instead of the indexed time. I've tried&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;DATETIME_CONFIG = NONE&lt;/PRE&gt;&lt;P&gt;and I've tried&lt;/P&gt;&lt;PRE&gt;DATETIME_CONFIG = CURRENT&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;is there anything else I can try?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 15 Sep 2020 13:01:29 GMT</pubDate>
    <dc:creator>yaaseensalie</dc:creator>
    <dc:date>2020-09-15T13:01:29Z</dc:date>
    <item>
      <title>assign cron time to timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/assign-cron-time-to-timestamp/m-p/519682#M87865</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a rest call that runs every 24hours, and the number of events that are returned are in the region of +500 000 this obviously takes a few minutes to get everything into Splunk.&lt;/P&gt;&lt;P&gt;The problem is that the timestamps are completely out, I want all events to have the cron timestamp instead of the indexed time. I've tried&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;DATETIME_CONFIG = NONE&lt;/PRE&gt;&lt;P&gt;and I've tried&lt;/P&gt;&lt;PRE&gt;DATETIME_CONFIG = CURRENT&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;is there anything else I can try?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 13:01:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/assign-cron-time-to-timestamp/m-p/519682#M87865</guid>
      <dc:creator>yaaseensalie</dc:creator>
      <dc:date>2020-09-15T13:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: assign cron time to timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/assign-cron-time-to-timestamp/m-p/519683#M87866</link>
      <description>&lt;P&gt;Try overriding _time in your query&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval _time=now()&lt;/LI-CODE&gt;&lt;P&gt;Or perhaps&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval start=now()&lt;/LI-CODE&gt;&lt;P&gt;toward the beginning of your query, and&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval _time=start&lt;/LI-CODE&gt;&lt;P&gt;towards the end&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 13:10:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/assign-cron-time-to-timestamp/m-p/519683#M87866</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-09-15T13:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: assign cron time to timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/assign-cron-time-to-timestamp/m-p/519898#M87904</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;for the reply&lt;/P&gt;&lt;P&gt;But The GET request takes a while to get the results into Splunk, I'm using these results to create a lookup. I would like to use the CRON time as my timestamp for my events, I don't want to override anything in SPL. I'm trying to find a solution which is during Index time and not Search Time.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 11:34:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/assign-cron-time-to-timestamp/m-p/519898#M87904</guid>
      <dc:creator>yaaseensalie</dc:creator>
      <dc:date>2020-09-16T11:34:38Z</dc:date>
    </item>
  </channel>
</rss>

