<?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: Monitor logs from Different Time Zones in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-monitor-logs-from-Different-Time-Zones/m-p/596506#M207661</link>
    <description>&lt;P&gt;Yes, by "correct time zone" I mean the one configured.&lt;/P&gt;&lt;P&gt;You should be able to use &lt;FONT face="courier new,courier"&gt;TZ=EET&lt;/FONT&gt; or &lt;FONT face="courier new,courier"&gt;TZ=Europe/Bucharest&lt;/FONT&gt; in props.conf.&lt;/P&gt;</description>
    <pubDate>Thu, 05 May 2022 12:57:11 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-05-05T12:57:11Z</dc:date>
    <item>
      <title>How to monitor logs from Different Time Zones?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-monitor-logs-from-Different-Time-Zones/m-p/596373#M207608</link>
      <description>&lt;P&gt;Hello Splunkers!&lt;/P&gt;
&lt;P&gt;Initially I added the monitor stanza for all the inputs from various time zones and then when I had a check there was difference _time and the time present in the event and there was a lag by 1 or 2 hours based on that country's time zone and Splunk time zone, then figured out the it is because Splunk looks for a timestamp in the event and parse the data. Now , I need to monitor logs being received from different time zones from various countries and Splunk is in different time zone, can you please drop in your knowledge on this please.&lt;/P&gt;
&lt;P&gt;When investigated, found that we can add the below as false as per&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.6/Admin/Propsconf" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.6/Admin/Propsconf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;BREAK_ONLY_BEFORE_DATE = &amp;lt;boolean&amp;gt;&lt;BR /&gt;DATETIME_CONFIG = NONE&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; And could see that there are options to define the time zones using TZ. Can anyone help me out please!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&amp;nbsp;&lt;BR /&gt;My source:&lt;/P&gt;
&lt;P&gt;test.csv&amp;nbsp;&lt;BR /&gt;&lt;SPAN class=""&gt;SYSTEMDATE&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;SYSTEMTIME&lt;/SPAN&gt;&lt;SPAN&gt;,FAILUREMESSAGE&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"&lt;SPAN class=""&gt;2022-05-04&lt;/SPAN&gt;","&lt;SPAN class=""&gt;12.51.08&lt;/SPAN&gt;", The JobA has failed&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"&lt;SPAN class=""&gt;2022-05-04&lt;/SPAN&gt;","&lt;SPAN class=""&gt;13.00.05&lt;/SPAN&gt;", The JobB has failed&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Data reflecting in Splunk UI:&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE width="426px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Time&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;Event&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;04/05/2022&lt;BR /&gt;12:51:03.000&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&lt;SPAN class=""&gt;SYSTEMDATE&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;SYSTEMTIME&lt;/SPAN&gt;&lt;SPAN&gt;,FAILUREMESSAGE&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="106px"&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;04/05/2022&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;11:51:08.000&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="320px"&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;"&lt;SPAN class=""&gt;2022-05-04&lt;/SPAN&gt;","&lt;SPAN class=""&gt;14.51.08&lt;/SPAN&gt;",&lt;SPAN&gt;The JobA has failed&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="106px"&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;04/05/2022&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;12:00:05.000&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="320px"&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;"&lt;SPAN class=""&gt;2022-05-04&lt;/SPAN&gt;","&lt;SPAN&gt;&lt;SPAN class=""&gt;13.00.05&lt;/SPAN&gt;&lt;/SPAN&gt;",&lt;SPAN&gt;The JobB has failed&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Only the below event is reflecting at the current time when the job is triggered from Application end which is the correct one since the below has no timestamp defined.&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;04/05/2022&lt;BR /&gt;12:51:03.000&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&lt;SPAN class=""&gt;SYSTEMDATE&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;SYSTEMTIME&lt;/SPAN&gt;&lt;SPAN&gt;,FAILUREMESSAGE&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Source time zone: Various Countries like Italy, Romania, Cyprus etc.,&lt;/P&gt;
&lt;P&gt;Destination/Splunk Time Zone: BST&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;/P&gt;
&lt;P&gt;Sarah&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 16:34:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-monitor-logs-from-Different-Time-Zones/m-p/596373#M207608</guid>
      <dc:creator>sarahnazzar</dc:creator>
      <dc:date>2022-05-04T16:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor logs from Different Time Zones</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-monitor-logs-from-Different-Time-Zones/m-p/596391#M207620</link>
      <description>&lt;P&gt;For each forwarder that is sending these logs, add a &lt;FONT face="courier new,courier"&gt;TZ&lt;/FONT&gt; setting to the appropriate props.conf stanza. The forwarder will tell the indexers the correct time zone to use.&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 14:58:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-monitor-logs-from-Different-Time-Zones/m-p/596391#M207620</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-05-04T14:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor logs from Different Time Zones</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-monitor-logs-from-Different-Time-Zones/m-p/596450#M207647</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;Thanks for your response!&lt;/P&gt;&lt;P&gt;Correct Time zone in the sense it will be using the timezone configured in Splunk right i.e., BST current time when the data comes in.&lt;/P&gt;&lt;P&gt;For example if the time zone is of Romania then will TZ = EET work under that particular sourcetype's props.conf&lt;/P&gt;&lt;P&gt;[jobcsv]&lt;/P&gt;&lt;P&gt;TZ = EET&lt;/P&gt;&lt;P&gt;Had a check in TZ database but couldn't find the same, can you please help me out?&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.m.wikipedia.org/wiki/List_of_tz_database_time_zones" target="_blank" rel="noopener"&gt;https://en.m.wikipedia.org/wiki/List_of_tz_database_time_zones&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 05:07:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-monitor-logs-from-Different-Time-Zones/m-p/596450#M207647</guid>
      <dc:creator>sarahnazzar</dc:creator>
      <dc:date>2022-05-05T05:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor logs from Different Time Zones</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-monitor-logs-from-Different-Time-Zones/m-p/596506#M207661</link>
      <description>&lt;P&gt;Yes, by "correct time zone" I mean the one configured.&lt;/P&gt;&lt;P&gt;You should be able to use &lt;FONT face="courier new,courier"&gt;TZ=EET&lt;/FONT&gt; or &lt;FONT face="courier new,courier"&gt;TZ=Europe/Bucharest&lt;/FONT&gt; in props.conf.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 12:57:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-monitor-logs-from-Different-Time-Zones/m-p/596506#M207661</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-05-05T12:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor logs from Different Time Zones</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-monitor-logs-from-Different-Time-Zones/m-p/596765#M207732</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp; Many thanks that worked!! &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 17:08:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-monitor-logs-from-Different-Time-Zones/m-p/596765#M207732</guid>
      <dc:creator>sarahnazzar</dc:creator>
      <dc:date>2022-05-06T17:08:44Z</dc:date>
    </item>
  </channel>
</rss>

