<?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 How do you verify that multiple indexes are time synced? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-verify-that-multiple-indexes-are-time-synced/m-p/417948#M73759</link>
    <description>&lt;P&gt;We have upwards of 50 different security technologies reporting into Splunk. I'm being tasked with verifying that all the technologies reporting are properly time synced. Without going into each technology individually and verify NTP configurations, is there a way to run a query in Splunk to check time synchronization?&lt;/P&gt;</description>
    <pubDate>Thu, 28 Feb 2019 18:17:15 GMT</pubDate>
    <dc:creator>shandman</dc:creator>
    <dc:date>2019-02-28T18:17:15Z</dc:date>
    <item>
      <title>How do you verify that multiple indexes are time synced?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-verify-that-multiple-indexes-are-time-synced/m-p/417948#M73759</link>
      <description>&lt;P&gt;We have upwards of 50 different security technologies reporting into Splunk. I'm being tasked with verifying that all the technologies reporting are properly time synced. Without going into each technology individually and verify NTP configurations, is there a way to run a query in Splunk to check time synchronization?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 18:17:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-verify-that-multiple-indexes-are-time-synced/m-p/417948#M73759</guid>
      <dc:creator>shandman</dc:creator>
      <dc:date>2019-02-28T18:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do you verify that multiple indexes are time synced?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-verify-that-multiple-indexes-are-time-synced/m-p/417949#M73760</link>
      <description>&lt;P&gt;You will need to look at how hosts are logging in your environment and how far off the timestamp of the last event sent by each host is from the current time. Here is a query that will help with that&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=hosts index=*
| eval time_zone_diff = Now() - lastTime
| eval recent_time = Now() - recentTime
| sort time_diff
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hosts with a negative value for the &lt;CODE&gt;time_diff&lt;/CODE&gt; field are sending data that is "in the future" compared to the clock of your Splunk Servers. This indicates hosts with a time zone that are ahead of the time zone of your splunk infrastructure. Hosts with a high value for &lt;CODE&gt;time_diff&lt;/CODE&gt; and a low value for &lt;CODE&gt;recent_time&lt;/CODE&gt; indicate hosts with a time zone that are behind your Splunk infrastructure. &lt;/P&gt;

&lt;P&gt;Here is the metadata doc for reference: &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.4/SearchReference/Metadata"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.4/SearchReference/Metadata&lt;/A&gt;&lt;BR /&gt;
Time zone docs for help with remediation: &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.4/Data/Applytimezoneoffsetstotimestamps"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.4/Data/Applytimezoneoffsetstotimestamps&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 20:20:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-verify-that-multiple-indexes-are-time-synced/m-p/417949#M73760</guid>
      <dc:creator>pkeenan87</dc:creator>
      <dc:date>2019-02-28T20:20:09Z</dc:date>
    </item>
  </channel>
</rss>

