<?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 collect command and time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/collect-command-and-time/m-p/522407#M147307</link>
    <description>&lt;P&gt;I have two Splunk servers and run the following command&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| fields - _time
| collect index=temp addtime=f&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this , _time variable then comes in the indexed data as 2020-10-01 HH:MM:SS as expected. _time is taken from the info_search_time field, which is UTC&lt;/P&gt;&lt;P&gt;However, if I do this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| collect index=temp addtime=t&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then the raw event data looks like this in BOTH servers&lt;/P&gt;&lt;P&gt;10/01/2020 HH:MM:SS .....&lt;/P&gt;&lt;P&gt;i.e. MM/DD/YYYY&lt;/P&gt;&lt;P&gt;but in one server the ingested event is dated&amp;nbsp;2020-10-01, so parsing correctly as MM/DD/YYYY and in the other, the event is dated 2020-01-10, which is parsing the data as DD/MM/YYYY, which is not correct.&lt;/P&gt;&lt;P&gt;I don't believe the collect command provides control to format the added raw time field formatted as ISO8601, if it does, how? But can anyone say what controls the parsing format used to ingest this collected data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Oct 2020 06:25:47 GMT</pubDate>
    <dc:creator>bowesmana</dc:creator>
    <dc:date>2020-10-01T06:25:47Z</dc:date>
    <item>
      <title>collect command and time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/collect-command-and-time/m-p/522407#M147307</link>
      <description>&lt;P&gt;I have two Splunk servers and run the following command&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| fields - _time
| collect index=temp addtime=f&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this , _time variable then comes in the indexed data as 2020-10-01 HH:MM:SS as expected. _time is taken from the info_search_time field, which is UTC&lt;/P&gt;&lt;P&gt;However, if I do this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| collect index=temp addtime=t&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then the raw event data looks like this in BOTH servers&lt;/P&gt;&lt;P&gt;10/01/2020 HH:MM:SS .....&lt;/P&gt;&lt;P&gt;i.e. MM/DD/YYYY&lt;/P&gt;&lt;P&gt;but in one server the ingested event is dated&amp;nbsp;2020-10-01, so parsing correctly as MM/DD/YYYY and in the other, the event is dated 2020-01-10, which is parsing the data as DD/MM/YYYY, which is not correct.&lt;/P&gt;&lt;P&gt;I don't believe the collect command provides control to format the added raw time field formatted as ISO8601, if it does, how? But can anyone say what controls the parsing format used to ingest this collected data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 06:25:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/collect-command-and-time/m-p/522407#M147307</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2020-10-01T06:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: collect command and time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/collect-command-and-time/m-p/522455#M147315</link>
      <description>&lt;P&gt;what is&amp;nbsp; SPlunk versions in both instances?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 10:48:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/collect-command-and-time/m-p/522455#M147315</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-10-01T10:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: collect command and time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/collect-command-and-time/m-p/522595#M147358</link>
      <description>&lt;P&gt;Good question - the one parsing correctly is 8.0.1 and the one not is 7.3.4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 21:14:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/collect-command-and-time/m-p/522595#M147358</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2020-10-01T21:14:04Z</dc:date>
    </item>
  </channel>
</rss>

