<?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: ms:o365:reporting:messagetrace props.conf settings for timestamp recognition in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/ms-o365-reporting-messagetrace-props-conf-settings-for-timestamp/m-p/390681#M4213</link>
    <description>&lt;P&gt;tested in my case and it works (version 1.10) . hope it work for you:&lt;/P&gt;

&lt;P&gt;TA-MS_O365_Reporting/local/props.conf:&lt;BR /&gt;
[ms:o365:reporting:messagetrace]&lt;BR /&gt;
TZ = UTC&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 03:33:50 GMT</pubDate>
    <dc:creator>fredzhang</dc:creator>
    <dc:date>2020-09-30T03:33:50Z</dc:date>
    <item>
      <title>ms:o365:reporting:messagetrace props.conf settings for timestamp recognition</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/ms-o365-reporting-messagetrace-props-conf-settings-for-timestamp/m-p/390680#M4212</link>
      <description>&lt;P&gt;Hi Splunkers&lt;/P&gt;

&lt;P&gt;Does anyone know the correct settings for the props.conf file of the TA-MS_O365_Reporting add-on that ensures that the "Time" field is extracted and displayed in my time zone (Pacific/Auckland)? It currently displays the extracted "Time" field in UTC.&lt;/P&gt;

&lt;P&gt;Using the default settings of the props.conf file as below doesn't convert the extracted field to my timezone:&lt;BR /&gt;
[microsoft:office365:reporting:messagetrace]&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 30&lt;BR /&gt;
SHOULD_LINEMERGE = 0&lt;BR /&gt;
TIME_FORMAT = %Y-%m-%dT%H:%M:%SZ&lt;BR /&gt;
TIME_PREFIX = "DateReceived": "&lt;/P&gt;

&lt;P&gt;I've also worked through the answers discussed below without success:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/626095/new-time-format-has-z-on-the-end-did-you-mean-z-fo.html" target="_blank"&gt;https://answers.splunk.com/answers/626095/new-time-format-has-z-on-the-end-did-you-mean-z-fo.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Additionally, I extracted the search results to a csv file and used the "Add Data" interface on my search head and heavy weight forwarder (where the add-on is configured) to add the data to verify the extracted fields. When I select the source type as "ms:o365:reporting:messagetrace" it does convert the UTC time to my timezone in the "Time" field. However, during a search it does not and uses the UTC time as the "Time".&lt;/P&gt;

&lt;P&gt;Below is what my current props.conf file looks like:&lt;BR /&gt;
[ms:o365:reporting:messagetrace]&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 30&lt;BR /&gt;
SHOULD_LINEMERGE = 0&lt;BR /&gt;
TIME_FORMAT = %Y-%m-%dT%H:%M:%S %Z&lt;BR /&gt;
TIME_PREFIX = "DateReceived": &lt;BR /&gt;
category = Splunk App Add-on Builder&lt;BR /&gt;
pulldown_type = 1&lt;/P&gt;

&lt;P&gt;I've also tried the following TIME_FORMAT options:&lt;BR /&gt;
1. %Y-%m-%dT%H:%M:%S%Z&lt;BR /&gt;
2. %Y-%m-%dT%H:%M:%S&lt;/P&gt;

&lt;P&gt;I've also tried the following TIME_PREFIX options:&lt;BR /&gt;
1. "DateReceived": "&lt;BR /&gt;
2. ""DateReceived"": ""&lt;/P&gt;

&lt;P&gt;I've changed the MAX_TIMESTAMP_LOOKAHEAD to 100.&lt;/P&gt;

&lt;P&gt;I've added "TZ = UTC" and tried "TZ = Pacific/Auckland".&lt;/P&gt;

&lt;P&gt;I also used other Splunk accounts and verified the time zone settings in the user account options.&lt;/P&gt;

&lt;P&gt;Any assistance in this regards will be highly appreciated. &lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:28:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/ms-o365-reporting-messagetrace-props-conf-settings-for-timestamp/m-p/390680#M4212</guid>
      <dc:creator>jacodutoit</dc:creator>
      <dc:date>2020-09-29T19:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: ms:o365:reporting:messagetrace props.conf settings for timestamp recognition</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/ms-o365-reporting-messagetrace-props-conf-settings-for-timestamp/m-p/390681#M4213</link>
      <description>&lt;P&gt;tested in my case and it works (version 1.10) . hope it work for you:&lt;/P&gt;

&lt;P&gt;TA-MS_O365_Reporting/local/props.conf:&lt;BR /&gt;
[ms:o365:reporting:messagetrace]&lt;BR /&gt;
TZ = UTC&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:33:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/ms-o365-reporting-messagetrace-props-conf-settings-for-timestamp/m-p/390681#M4213</guid>
      <dc:creator>fredzhang</dc:creator>
      <dc:date>2020-09-30T03:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: ms:o365:reporting:messagetrace props.conf settings for timestamp recognition</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/ms-o365-reporting-messagetrace-props-conf-settings-for-timestamp/m-p/390682#M4214</link>
      <description>&lt;P&gt;The solution below worked for our organization:&lt;/P&gt;

&lt;P&gt;In the props.conf file located in &lt;STRONG&gt;[SPLUNK_HOME]\etc\apps\TA-MS_O365_Reporting\default&lt;/STRONG&gt;, comment out the following:&lt;/P&gt;

&lt;P&gt;[ms:o365:reporting:messagetrace]&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 30&lt;BR /&gt;
SHOULD_LINEMERGE = 0&lt;BR /&gt;
*#TIME_FORMAT = %Y-%m-%dT%H:%M:%S%Z&lt;/P&gt;

&lt;H1&gt;TIME_PREFIX = "Received": "*&lt;/H1&gt;

&lt;P&gt;category = Splunk App Add-on Builder&lt;BR /&gt;
pulldown_type = 1 &lt;/P&gt;

&lt;P&gt;Create a new props.conf in &lt;STRONG&gt;[SPLUNK_HOME]\etc\apps\TA-MS_O365_Reporting\local&lt;/STRONG&gt; and add the following:&lt;/P&gt;

&lt;P&gt;[ms:o365:reporting:messagetrace]&lt;BR /&gt;
TZ = UTC&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 300&lt;BR /&gt;
TIME_PREFIX = "Received":\s*"&lt;/P&gt;

&lt;P&gt;Thanks! Hope this solution helps.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:57:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/ms-o365-reporting-messagetrace-props-conf-settings-for-timestamp/m-p/390682#M4214</guid>
      <dc:creator>victormelnikftb</dc:creator>
      <dc:date>2020-09-30T03:57:36Z</dc:date>
    </item>
  </channel>
</rss>

