<?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: difference in timezone in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509979#M2705</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163693"&gt;@chaitali_1994&lt;/a&gt;&amp;nbsp;that makes it clear, I did not understand that regex.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;props.conf&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TIME_PREFIX = end=
MAX_TIMESTAMP_LOOKAHEAD = 100 [or the furtherest the "end" timestamp is at, you've currently set it to 20, so it is only look 20 characters ahead]
TIME_FORMAT = %b %d %Y %H:%M:%S
TZ = GMT&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jul 2020 07:10:25 GMT</pubDate>
    <dc:creator>anmolpatel</dc:creator>
    <dc:date>2020-07-20T07:10:25Z</dc:date>
    <item>
      <title>difference in timezone</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509747#M2679</link>
      <description>&lt;P&gt;can anyone help me in telling why i am getting time difference between _time and indextime?&lt;/P&gt;&lt;P&gt;the logs are sent via syslog from source and it is in CEF format.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;Apr 9 02:00:01&amp;gt;&amp;nbsp; &amp;lt;syslog- server name&amp;gt; &amp;lt;02: 00:01, 371&amp;gt;&amp;nbsp; ERROR [EventLogManager] Udated logs Successfully CEF:|&amp;lt;cefVersion&amp;gt;|&amp;lt;vendor&amp;gt;|&amp;lt;product&amp;gt;|&amp;lt;version&amp;gt;|&amp;lt;id&amp;gt;|&amp;lt;id desc&amp;gt;|&amp;lt;severity id&amp;gt;|start=Apr 09 2020 01:00:01 end=Apr 09 2020 01:00:01 &amp;lt;............log msg&amp;gt;&lt;/P&gt;&lt;P&gt;as my logs are getting written in a file path,&amp;nbsp; have written inputs.conf&amp;nbsp; and stored in forwarder which is pushed via deployment server:&lt;/P&gt;&lt;PRE&gt;[monitor:///&amp;lt;path&amp;gt;]&lt;BR /&gt;disabled=&amp;lt;&amp;gt;&lt;BR /&gt;sourcetype=&amp;lt;&amp;gt;&lt;BR /&gt;index=&amp;lt;&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;in props.conf&amp;nbsp;&lt;/P&gt;&lt;P&gt;[&amp;lt;sourcetype&amp;gt;]&lt;BR /&gt;TIME_PREFIX= \send\=&lt;BR /&gt;TIME_FORMAT= %b %d %Y %H:%M:%S&lt;BR /&gt;MAX_TIMESTAMP_LOOKAHEAD = 20&lt;BR /&gt;TZ= GMT&lt;/P&gt;&lt;P&gt;props. conf is placed in my SH and Indexer&lt;/P&gt;&lt;P&gt;I am getting 1 hour time difference. the logs are getting generated in GMT timezone.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if any further details required&lt;/P&gt;&lt;P&gt;Thank You !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 16:15:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509747#M2679</guid>
      <dc:creator>chaitali_1994</dc:creator>
      <dc:date>2020-07-17T16:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: difference in timezone</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509757#M2681</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;it seems that your syslog event haven’t timezone (especially summertime) information included. The best option is try to get added that information to syslog event. Otherwise you need to update summertime information twice a year.&amp;nbsp;&lt;BR /&gt;r. Ism&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 17:12:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509757#M2681</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-07-17T17:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: difference in timezone</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509963#M2700</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163693"&gt;@chaitali_1994&lt;/a&gt;&amp;nbsp;Please provide a screenshot from the Splunk search showing the actual event vs the time extracted. Also are the events going from UF ---&amp;gt; IDX(C) or UF ---&amp;gt; HF ---&amp;gt; IDX(C)&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 06:22:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509963#M2700</guid>
      <dc:creator>anmolpatel</dc:creator>
      <dc:date>2020-07-20T06:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: difference in timezone</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509974#M2702</link>
      <description>&lt;P&gt;unfortunately i cannot provide the screenshot of the Splunk search.&lt;/P&gt;&lt;P&gt;the data is sent from source server via syslog to UF --&amp;gt; IDX&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 06:49:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509974#M2702</guid>
      <dc:creator>chaitali_1994</dc:creator>
      <dc:date>2020-07-20T06:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: difference in timezone</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509976#M2703</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163693"&gt;@chaitali_1994&lt;/a&gt;&amp;nbsp;no worries.&lt;/P&gt;&lt;P&gt;If the time signature is this:&amp;nbsp;&lt;SPAN&gt;Apr 9 02:00:01,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;than your props needs to be modified to include this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TIME_FORMAT= %b %d %H:%M:%S&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;apart from that the rest appears fine.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 06:57:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509976#M2703</guid>
      <dc:creator>anmolpatel</dc:creator>
      <dc:date>2020-07-20T06:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: difference in timezone</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509978#M2704</link>
      <description>&lt;P&gt;I am trying to capture end time as TIME_PREFIX, so even if i change the TIMESTAMP, will it take?&amp;nbsp; I am confused here&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 07:01:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509978#M2704</guid>
      <dc:creator>chaitali_1994</dc:creator>
      <dc:date>2020-07-20T07:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: difference in timezone</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509979#M2705</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163693"&gt;@chaitali_1994&lt;/a&gt;&amp;nbsp;that makes it clear, I did not understand that regex.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;props.conf&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TIME_PREFIX = end=
MAX_TIMESTAMP_LOOKAHEAD = 100 [or the furtherest the "end" timestamp is at, you've currently set it to 20, so it is only look 20 characters ahead]
TIME_FORMAT = %b %d %Y %H:%M:%S
TZ = GMT&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 07:10:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509979#M2705</guid>
      <dc:creator>anmolpatel</dc:creator>
      <dc:date>2020-07-20T07:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: difference in timezone</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509980#M2706</link>
      <description>&lt;P&gt;so in TIME_PREFIX i should use "end=" instead of \send\="&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I have tried with MAX_TIMESTAMP_LOOKAHEAD= 22 still it didn't work. Let me try with changing the TIME_PREFIX= end=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 07:17:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509980#M2706</guid>
      <dc:creator>chaitali_1994</dc:creator>
      <dc:date>2020-07-20T07:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: difference in timezone</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509986#M2709</link>
      <description>&lt;P&gt;Sorry that I missed the 2nd and 3rd timestamps on your event. You could take it from start= or end= positions. But you must count from the start of event in which position those timestamps ends and probably add something to this sum for ensure that it always cover the whole timestamp. Then change this total sum to&amp;nbsp;&lt;SPAN&gt;MAX_TIMESTAMP_LOOKAHEAD&lt;/SPAN&gt;&lt;BR /&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 07:59:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509986#M2709</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-07-20T07:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: difference in timezone</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509994#M2711</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163693"&gt;@chaitali_1994&lt;/a&gt;&amp;nbsp; your MAX_TIMESTAMP_LOOKAHEAD value needs to be at least, 230.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way that value works, is from the beginning of the event it will continue to validate the regex in TIME_PREFIX value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your example,&amp;nbsp;&lt;SPAN&gt;&amp;lt;Apr 9 02:00:01&amp;gt;&amp;nbsp; &amp;lt;syslog- server name&amp;gt; &amp;lt;02: 00:01, 371&amp;gt;&amp;nbsp; ERROR [EventLogManager] Udated logs Successfully CEF:|&amp;lt;cefVersion&amp;gt;|&amp;lt;vendor&amp;gt;|&amp;lt;product&amp;gt;|&amp;lt;version&amp;gt;|&amp;lt;id&amp;gt;|&amp;lt;id desc&amp;gt;|&amp;lt;severity id&amp;gt;|start=Apr 09 2020 01:00:01 end=Apr 09 2020 01:00:01&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The TIME_PREFIX = end= is 214, characters from the beginning of the string.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is after you've anonymised the data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the value of 22 is not going to meet the criteria in any scenario.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The best way forward, is to copy some of the large event into a text editor or word and check how many character are there prior to the timestamp "end=&amp;lt;timestamp&amp;gt;" and set the MAX_TIMESTAMP_LOOKAHEAD value to the MAXIMUM value you get&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 09:06:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/difference-in-timezone/m-p/509994#M2711</guid>
      <dc:creator>anmolpatel</dc:creator>
      <dc:date>2020-07-20T09:06:19Z</dc:date>
    </item>
  </channel>
</rss>

