<?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 servers time validation in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/servers-time-validation/m-p/517923#M87602</link>
    <description>&lt;P&gt;good morning&lt;/P&gt;&lt;P&gt;Is there a way to validate the time of the current splunk servers? Let me explain, during these days there will be a time change so the servers should update their time automatically, but I have seen over time that not all servers are correctly patched, for example a universal forwarder sends certain data and the sourcetype was configured like current_time, this would cause events to arrive either late or early.&lt;/P&gt;&lt;P&gt;Currently I have this query to validate the time of the servers but I do not know if it is correct.&lt;/P&gt;&lt;P&gt;| metadata type = hosts index = _internal&lt;BR /&gt;| search host = splunk *&lt;BR /&gt;| eval recent_time = Now () - recentTime&lt;BR /&gt;| eval r_time = strftime (recentTime, "% m /% d /% and% H:% M:% S")&lt;BR /&gt;| table host r_time&lt;/P&gt;&lt;P&gt;Any information is appreciated&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Fri, 04 Sep 2020 14:14:22 GMT</pubDate>
    <dc:creator>efaundez</dc:creator>
    <dc:date>2020-09-04T14:14:22Z</dc:date>
    <item>
      <title>servers time validation</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/servers-time-validation/m-p/517923#M87602</link>
      <description>&lt;P&gt;good morning&lt;/P&gt;&lt;P&gt;Is there a way to validate the time of the current splunk servers? Let me explain, during these days there will be a time change so the servers should update their time automatically, but I have seen over time that not all servers are correctly patched, for example a universal forwarder sends certain data and the sourcetype was configured like current_time, this would cause events to arrive either late or early.&lt;/P&gt;&lt;P&gt;Currently I have this query to validate the time of the servers but I do not know if it is correct.&lt;/P&gt;&lt;P&gt;| metadata type = hosts index = _internal&lt;BR /&gt;| search host = splunk *&lt;BR /&gt;| eval recent_time = Now () - recentTime&lt;BR /&gt;| eval r_time = strftime (recentTime, "% m /% d /% and% H:% M:% S")&lt;BR /&gt;| table host r_time&lt;/P&gt;&lt;P&gt;Any information is appreciated&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2020 14:14:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/servers-time-validation/m-p/517923#M87602</guid>
      <dc:creator>efaundez</dc:creator>
      <dc:date>2020-09-04T14:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: servers time validation</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/servers-time-validation/m-p/517974#M87612</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I haven’t had splunk in my hands now to check this, but I suppose that metadata recentTime is splunk server time not the UF time? If you want to check UF’s time then just look event’s _time from _internal and use also %z to see that time zone is correct and time conversion has done right.&lt;BR /&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2020 20:25:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/servers-time-validation/m-p/517974#M87612</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-09-04T20:25:05Z</dc:date>
    </item>
  </channel>
</rss>

