<?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: Having difficulties with a date/time conversion in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Having-difficulties-with-a-date-time-conversion/m-p/636208#M108818</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/243653"&gt;@NanSplk01&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;The regex looks OK, but time format variables used are wrong.&amp;nbsp; Here's the Splunk doc ref&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Commontimeformatvariables" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Commontimeformatvariables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This should work for you&lt;/P&gt;&lt;PRE&gt;Timestamp: %Y-%m-%dT%H:%M:%S.%3N%z&lt;/PRE&gt;&lt;P&gt;Hope that helps&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2023 23:47:54 GMT</pubDate>
    <dc:creator>yeahnah</dc:creator>
    <dc:date>2023-03-27T23:47:54Z</dc:date>
    <item>
      <title>Having difficulties with a date/time conversion?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Having-difficulties-with-a-date-time-conversion/m-p/636194#M108816</link>
      <description>&lt;P&gt;I have been trying to create this sourcetype and am not sure I'm capturing it correctly.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sample date:&amp;nbsp; &amp;nbsp; &amp;nbsp; [2023-03-26T14:06:06.356-04:00]&lt;/P&gt;
&lt;P&gt;Regex Breakdown:&amp;nbsp; &amp;nbsp; \[\d{4}-\d{2}-\d{2}.\d{2}:\d{2}:\d{2}.\d{3}-\d{2}:\d{2}]&lt;/P&gt;
&lt;P&gt;Timestamp:&amp;nbsp; &amp;nbsp; %Y-%m-%d{2}\T\d{2}:%H%:%M.%S.%N-\d{2}:\d{2}&lt;/P&gt;
&lt;P&gt;But I'm having issues with the timestamp value.&amp;nbsp; I've not run into one that has no breaks in it before.&amp;nbsp; Any help will be much appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 01:03:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Having-difficulties-with-a-date-time-conversion/m-p/636194#M108816</guid>
      <dc:creator>NanSplk01</dc:creator>
      <dc:date>2023-03-28T01:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Having difficulties with a date/time conversion</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Having-difficulties-with-a-date-time-conversion/m-p/636208#M108818</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/243653"&gt;@NanSplk01&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;The regex looks OK, but time format variables used are wrong.&amp;nbsp; Here's the Splunk doc ref&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Commontimeformatvariables" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Commontimeformatvariables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This should work for you&lt;/P&gt;&lt;PRE&gt;Timestamp: %Y-%m-%dT%H:%M:%S.%3N%z&lt;/PRE&gt;&lt;P&gt;Hope that helps&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 23:47:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Having-difficulties-with-a-date-time-conversion/m-p/636208#M108818</guid>
      <dc:creator>yeahnah</dc:creator>
      <dc:date>2023-03-27T23:47:54Z</dc:date>
    </item>
  </channel>
</rss>

