<?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: Event Time does not match in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751163#M119288</link>
    <description>&lt;P&gt;1. If the events are wrongly assigned timestamp they _are_ searchable but the default search range ends at "now" so those events do not fall into this range. Try searching with "latest=+12h" to see if the events are "properly" indexed into the future.&lt;/P&gt;&lt;P&gt;2. It seems like a timezone issue. What timezone your source is in? What timezone your SC4S runs in? What timezone your Splunk indexers (or HF if you're sending to HF) run in?&lt;/P&gt;</description>
    <pubDate>Thu, 07 Aug 2025 06:32:13 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2025-08-07T06:32:13Z</dc:date>
    <item>
      <title>Event Time does not match</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751158#M119287</link>
      <description>&lt;P&gt;We are using SC4S to collect local logs from FortiAnalyzer. We've noticed a error: the timestamp within the log file does not match the event time in Splunk.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="phamanh1652_0-1754540908154.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/39879i7D0B31336E1101C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="phamanh1652_0-1754540908154.png" alt="phamanh1652_0-1754540908154.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This delay is causing a issue: when logs are first sent from FortiAnalyzer, they are not immediately searchable in Splunk. Instead, they only become searchable 7 hours later.&lt;/P&gt;&lt;P&gt;This problem appears to be isolated to the FortiAnalyzer local logs. All other log sources collected via SC4S are working correctly, even the log forwarded to FortiAnalyzer then to Splunk, with their log timestamps and event times matching perfectly.&lt;/P&gt;&lt;P&gt;How can we resolve this issue?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 04:30:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751158#M119287</guid>
      <dc:creator>phamanh1652</dc:creator>
      <dc:date>2025-08-07T04:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Event Time does not match</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751163#M119288</link>
      <description>&lt;P&gt;1. If the events are wrongly assigned timestamp they _are_ searchable but the default search range ends at "now" so those events do not fall into this range. Try searching with "latest=+12h" to see if the events are "properly" indexed into the future.&lt;/P&gt;&lt;P&gt;2. It seems like a timezone issue. What timezone your source is in? What timezone your SC4S runs in? What timezone your Splunk indexers (or HF if you're sending to HF) run in?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 06:32:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751163#M119288</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-08-07T06:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Event Time does not match</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751165#M119289</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;said this is timezone issue.&lt;/P&gt;&lt;P&gt;Are all those logs wrongly timed or only some? I mean that if your SC4S is in one TZ and you are collecting syslogs from several different locations. &amp;nbsp;Also are your splunk servers and SC4S in same TZ?&lt;/P&gt;&lt;P&gt;There are at least two common syslog protocols:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;RFC3164 aka BSD syslog&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;RFC5424&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The newer (RFC5424) contains TZ information on every event, but old one has only date and time, but not TZ information.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check what those sources are used and if possible use RFC5424 version. If you cannot use that then you must add TZ information to those on SC4S or Splunk HEC side. Here is one instructions for it&amp;nbsp;&lt;A href="https://splunk.my.site.com/customer/s/article/Splunk-Connect-for-Syslog-Events" target="_blank"&gt;https://splunk.my.site.com/customer/s/article/Splunk-Connect-for-Syslog-Events&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 06:50:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751165#M119289</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2025-08-07T06:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Event Time does not match</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751176#M119291</link>
      <description>&lt;P&gt;The event as shown (and as I remember Forti products) doesn't actually conform to either RFC - it's not strictly a syslog message. It's just "something" sent over the network. So unless SC4S can parse out the timestamp in this specific format (which I doubt but I don't have much experience here), it's left for Splunk to do.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 07:36:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751176#M119291</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-08-07T07:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Event Time does not match</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751177#M119292</link>
      <description>For some reason I'm not surprised this with Forti products &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;</description>
      <pubDate>Thu, 07 Aug 2025 07:37:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751177#M119292</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2025-08-07T07:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Event Time does not match</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751187#M119293</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In our environment, we have Splunk Cloud, on-premise infrastructure including SC4S, and FortiAnalyzer. All systems are set to the same GMT+7 time zone. The issue is specific to the local logs from FortiAnalyzer.&lt;/P&gt;&lt;P&gt;We have the following add-ons installed:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Fortinet FortiGate Add-on for Splunk (version 1.6.9)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Fortinet FortiGate App for Splunk (version 1.6.4)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The problem only affects a specific type of log from FortiAnalyzer:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Logs from other FortiGates:&lt;/STRONG&gt; These logs are forwarded to FortiAnalyzer and then to Splunk. They are working correctly, and the log time matches the Splunk event time.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Local logs from FortiAnalyzer:&lt;/STRONG&gt; This includes events like login, logout, and configuration changes on the FortiAnalyzer itself. For these logs, there is a &lt;STRONG&gt;7-hour time difference&lt;/STRONG&gt; between the log timestamp and the Splunk event time.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This time discrepancy causes a significant problem. For example, if we create an alert for a configuration change on FortiAnalyzer, it will be triggered 7 hours late, making real-time monitoring impossible (As shown in this picture, using the same SPL query, searching by &lt;STRONG&gt;Splunk's event time&lt;/STRONG&gt; returns results, while searching by the &lt;STRONG&gt;actual timestamp in the logs&lt;/STRONG&gt; returns nothing.)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="phamanh1652_1-1754559115763.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/39882i8980DE3EA1806AE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="phamanh1652_1-1754559115763.png" alt="phamanh1652_1-1754559115763.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 09:32:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751187#M119293</guid>
      <dc:creator>phamanh1652</dc:creator>
      <dc:date>2025-08-07T09:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Event Time does not match</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751193#M119296</link>
      <description>Can you show sample of raw syslog events before those have sent to SC4S?&lt;BR /&gt;Can you also check the whole event from FortiAnalyzer (local logs) and logs from other FortiGates sent to FA and check if there was some other field where those times are set correctly? It's so long time ago when I have looked those that I cannot remember what all fields there are &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; If I recall right there are many/some information several times in one event with little bit different format. Maybe there was another field which contains also TZ information?</description>
      <pubDate>Thu, 07 Aug 2025 10:09:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751193#M119296</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2025-08-07T10:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Event Time does not match</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751195#M119298</link>
      <description>&lt;P&gt;OK. Let me get this straight.&lt;/P&gt;&lt;P&gt;You have a single stream of events you're receving on your SC4S from the FortiAnalyzer and some of those events come directly from the FortiAnalyzer while other ones are forwarded by FortiAnalyzer from FortiGates? Is that correct?&lt;/P&gt;&lt;P&gt;I'm not aware that - without additional bending over backwards - SC4S can treat different events within single event stream differently.&lt;/P&gt;&lt;P&gt;Anyway, how is the timestamp rendered for both of those kinds of events? (in the original raw events)&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 10:16:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751195#M119298</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-08-07T10:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Event Time does not match</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751259#M119314</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Here is the raw local log of FortiAnalyzer, its timezone is also GMT+7&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="phamanh1652_0-1754636818751.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/39889iFD3C3E7C7A42EA02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="phamanh1652_0-1754636818751.png" alt="phamanh1652_0-1754636818751.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I checked the logs from FortiGate, which are forwarded to FortiAnalyzer and then to Splunk. When comparing these with the local logs of FortiAnalyzer, I noticed a key difference: the FortiGate logs contain &lt;STRONG&gt;timestamp&lt;/STRONG&gt;, &lt;STRONG&gt;eventtime&lt;/STRONG&gt;, and &lt;STRONG&gt;timezone&lt;/STRONG&gt;, while the local FortiAnalyzer logs only show &lt;STRONG&gt;time&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="phamanh1652_1-1754638094532.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/39890i6588B7CB17B601B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="phamanh1652_1-1754638094532.png" alt="phamanh1652_1-1754638094532.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 07:32:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751259#M119314</guid>
      <dc:creator>phamanh1652</dc:creator>
      <dc:date>2025-08-08T07:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Event Time does not match</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751262#M119315</link>
      <description>&lt;P&gt;So apparently you have two different event formats received from the same source, right?&lt;/P&gt;&lt;P&gt;One - and this one is properly parsed - contains both an absolute timestamp as well as timezone offset. The other one contains only time without a timezone definition so depending on your SC4S/Splunk configuration might simply treat the timestamp as GMT and apply the +7:00 offset to it.&lt;/P&gt;&lt;P&gt;I'm not an expert on SC4S but AFAIR it expects a single type of events for a single source so to "split" your processing path you need to do some additional conditional routing in the underlying syslog-ng configuration.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 08:24:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751262#M119315</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-08-08T08:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Event Time does not match</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751475#M119330</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for your response. I've added&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;SC4S_DEFAULT_TIMEZONE&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;env_file, but the issue still persists. I came across a related article that suggests the problem might be due to a missing NTP server configuration. I’ll try setting that up and will follow up if it resolves the issue.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 03:41:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751475#M119330</guid>
      <dc:creator>phamanh1652</dc:creator>
      <dc:date>2025-08-13T03:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Event Time does not match</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751477#M119332</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/260527"&gt;@phamanh1652&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think setting up NTP will fix this issue, as the fortianalyzer is logging time info only.&amp;nbsp; Is it possible for you to configure with &lt;STRONG&gt;RFC5424&lt;/STRONG&gt; logging(which should ideally have timezone info with the event).&lt;/P&gt;&lt;P&gt;Otherwise you’ll need a &lt;STRONG&gt;rewrite&lt;/STRONG&gt; rule (with a filter for just the local fortianalyzer logs) that adds today’s date and your +07:00 timezone to the log’s time= value, which would add complete timestamp details to events before reaching Splunk.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Prewin&lt;BR /&gt;Splunk Enthusiast | Always happy to help! If this answer helped you, please consider marking it as the solution or giving a Karma. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 04:44:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751477#M119332</guid>
      <dc:creator>PrewinThomas</dc:creator>
      <dc:date>2025-08-13T04:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Event Time does not match</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751482#M119334</link>
      <description>&lt;P&gt;Nope. NTP client keeps sets the time to that received from the server but it doesn't manipulate timezone settings. It would help if you had the timestamp wrongly _set_ on a box, not wrongly interpreted.&lt;/P&gt;&lt;P&gt;Setting default timezone might also not help if SC4S doesn't understand the event format and can't make heads or tails of where the timestamp is.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 05:22:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/751482#M119334</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-08-13T05:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Event Time does not match</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/752017#M119419</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After configuring the SC4S server to use the same NTP server as the network devices, the timezone is now working correctly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for all your help.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 04:21:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/752017#M119419</guid>
      <dc:creator>phamanh1652</dc:creator>
      <dc:date>2025-08-22T04:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Event Time does not match</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/752022#M119420</link>
      <description>&lt;P&gt;That means that you have/had another problem. NTP on its own doesn't care about time zones.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 06:33:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Time-does-not-match/m-p/752022#M119420</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-08-22T06:33:39Z</dc:date>
    </item>
  </channel>
</rss>

