<?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: How to verify that new datetime.xml patch was applied to all my instances? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-verify-that-new-datetime-xml-patch-was-applied-to-all-my/m-p/503062#M46145</link>
    <description>&lt;P&gt;The sha256sum of the patched datetime.xml file is this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[root@ip-10-202-22-128 all_date_patch_props]# sha256sum datetime.xml
e6016245a677bff48ea7ddbe8d4b36f9acbd02918e1f90ead812892692d655ea  datetime.xml
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So I create a simple bash script (let's call it datetime_check.sh):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sha256sum $SPLUNK_HOME/etc/datetime.xml
sha256sum $SPLUNK_HOME/etc/apps/all_date_patch_props/datetime.xml
sha256sum $SPLUNK_HOME/etc/slave_apps/idxc_date_patch_props/local/datetime.xml
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This checks the three main locations that it might be (assuming the default app names) and generates the sum.&lt;/P&gt;

&lt;P&gt;Then, make an inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[script://$SPLUNK_HOME/etc/apps/search/bin/datetime_check.sh]
disabled = false
index = main
interval = 3600
source = datetime_check
sourcetype = datetime_check
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then you can simply search for all the sums and use stats to track deployment progress.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2019 17:57:53 GMT</pubDate>
    <dc:creator>asherer_splunk</dc:creator>
    <dc:date>2019-12-10T17:57:53Z</dc:date>
    <item>
      <title>How to verify that new datetime.xml patch was applied to all my instances?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-verify-that-new-datetime-xml-patch-was-applied-to-all-my/m-p/503061#M46144</link>
      <description>&lt;P&gt;I've seen the notes about the patch that needs to be applied for the two-digit years in timestamps:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.0/ReleaseNotes/FixDatetimexml2020"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.0/ReleaseNotes/FixDatetimexml2020&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;How do I do a quick-spot check of all my forwarders and full instances to make sure that datetime.xml has been patched?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 17:49:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-verify-that-new-datetime-xml-patch-was-applied-to-all-my/m-p/503061#M46144</guid>
      <dc:creator>asherer_splunk</dc:creator>
      <dc:date>2019-12-10T17:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to verify that new datetime.xml patch was applied to all my instances?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-verify-that-new-datetime-xml-patch-was-applied-to-all-my/m-p/503062#M46145</link>
      <description>&lt;P&gt;The sha256sum of the patched datetime.xml file is this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[root@ip-10-202-22-128 all_date_patch_props]# sha256sum datetime.xml
e6016245a677bff48ea7ddbe8d4b36f9acbd02918e1f90ead812892692d655ea  datetime.xml
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So I create a simple bash script (let's call it datetime_check.sh):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sha256sum $SPLUNK_HOME/etc/datetime.xml
sha256sum $SPLUNK_HOME/etc/apps/all_date_patch_props/datetime.xml
sha256sum $SPLUNK_HOME/etc/slave_apps/idxc_date_patch_props/local/datetime.xml
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This checks the three main locations that it might be (assuming the default app names) and generates the sum.&lt;/P&gt;

&lt;P&gt;Then, make an inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[script://$SPLUNK_HOME/etc/apps/search/bin/datetime_check.sh]
disabled = false
index = main
interval = 3600
source = datetime_check
sourcetype = datetime_check
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then you can simply search for all the sums and use stats to track deployment progress.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 17:57:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-verify-that-new-datetime-xml-patch-was-applied-to-all-my/m-p/503062#M46145</guid>
      <dc:creator>asherer_splunk</dc:creator>
      <dc:date>2019-12-10T17:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to verify that new datetime.xml patch was applied to all my instances?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-verify-that-new-datetime-xml-patch-was-applied-to-all-my/m-p/503063#M46146</link>
      <description>&lt;P&gt;Hi Asherer,&lt;/P&gt;

&lt;P&gt;In your answer  you check the datetime.xml check-sum (i.e sha256sum) in three locations&lt;/P&gt;

&lt;P&gt;sha256sum $SPLUNK_HOME/etc/datetime.xml&lt;BR /&gt;
 sha256sum $SPLUNK_HOME/etc/apps/all_date_patch_props/datetime.xml&lt;BR /&gt;
 sha256sum $SPLUNK_HOME/etc/slave_apps/idxc_date_patch_props/local/datetime.xml&lt;/P&gt;

&lt;P&gt;is this location same for Deployment server, Search Head server, Indexer server and Universal forwarder server???&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:26:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-verify-that-new-datetime-xml-patch-was-applied-to-all-my/m-p/503063#M46146</guid>
      <dc:creator>arun_kant_sharm</dc:creator>
      <dc:date>2020-09-30T03:26:22Z</dc:date>
    </item>
  </channel>
</rss>

