<?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: Timestamp extraction is not working in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Timestamp-extraction-is-not-working/m-p/557675#M6267</link>
    <description>&lt;P&gt;Here is one example to use INGEST_EVAL for manipulating time&amp;nbsp;&lt;A href="https://www.tekstream.com/a-use-case-for-ingest-time-eval/" target="_blank"&gt;https://www.tekstream.com/a-use-case-for-ingest-time-eval/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jun 2021 20:02:30 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2021-06-29T20:02:30Z</dc:date>
    <item>
      <title>Timestamp extraction is not working</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Timestamp-extraction-is-not-working/m-p/556042#M6128</link>
      <description>&lt;P&gt;WE have data coming from syslog which is like below :&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;SPAN class="t"&gt;2021-06-16T19:03:02&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;+&lt;SPAN class="t"&gt;02:00&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;XXXXXXXXXX&amp;nbsp; - (&lt;SPAN&gt;6/16/21&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;5:03:02.000 PM - splunk extracted time&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;SPAN class="t"&gt;2021-06-16T19:02:58&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;+&lt;SPAN class="t"&gt;02:00&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;XXXXXXXXXX - (&lt;SPAN&gt;6/16/21&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;5:02:58.000 PM&amp;nbsp; - splunk extracted time&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;these data's are sent to indexer from syslog via heavy forwarders , data from syslog is actually in the UTC time zone but +2:00 have been appended wrongly in the syslog data , splunk intelligence is taking +2:00 and substracting it from utc time and there is 2 hour time gap ,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;inorder to extract correct time stamp we placed props.conf in the heavy forwarder (config below) but still the extraction is not working . ensured that on disk config is coming as below but still required timestamps are not extracted , still there is time gap of 2 hours .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIME_PREFIX = ^&lt;BR /&gt;MAX_TIMESTAMP_LOOKAHEAD = 20&lt;BR /&gt;TIME_FORMAT = %Y-%m-%dT%H%M%S&lt;BR /&gt;LINE_BREAKER = ([\n\r]+)&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;BR /&gt;TRUNCATE = 999999&lt;/P&gt;&lt;P&gt;Any solutions to extract highlighted time ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 19:13:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Timestamp-extraction-is-not-working/m-p/556042#M6128</guid>
      <dc:creator>iamvinaykumar</dc:creator>
      <dc:date>2021-06-16T19:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp extraction is not working</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Timestamp-extraction-is-not-working/m-p/556051#M6129</link>
      <description>Have you try TZ=UTC on props.conf? I suppose that HFs own time zone is what it is using now even you cut of that +02:00 from event.&lt;BR /&gt;Another option is try use INGEST_EVAL = _time := .... setting first time with correct TZ and then do strptime for it when assign it to _time.&lt;BR /&gt;r. Ismo</description>
      <pubDate>Wed, 16 Jun 2021 21:09:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Timestamp-extraction-is-not-working/m-p/556051#M6129</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2021-06-16T21:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp extraction is not working</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Timestamp-extraction-is-not-working/m-p/556184#M6139</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214410"&gt;@isoutamo&lt;/a&gt;&amp;nbsp; Yes we tried to set TZ = UTC but still&amp;nbsp; Splunk is reading from the log , Also tried to set the time zone in&amp;nbsp; source i e universal forwarder forwarder in the syslog servers . but even that didn't helped .&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will index-time eval function work in this case ?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 14:24:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Timestamp-extraction-is-not-working/m-p/556184#M6139</guid>
      <dc:creator>iamvinaykumar</dc:creator>
      <dc:date>2021-06-17T14:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp extraction is not working</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Timestamp-extraction-is-not-working/m-p/557675#M6267</link>
      <description>&lt;P&gt;Here is one example to use INGEST_EVAL for manipulating time&amp;nbsp;&lt;A href="https://www.tekstream.com/a-use-case-for-ingest-time-eval/" target="_blank"&gt;https://www.tekstream.com/a-use-case-for-ingest-time-eval/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 20:02:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Timestamp-extraction-is-not-working/m-p/557675#M6267</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2021-06-29T20:02:30Z</dc:date>
    </item>
  </channel>
</rss>

