<?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: TIME_FORMAT regex help in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/TIME-FORMAT-regex-help/m-p/264978#M96103</link>
    <description>&lt;P&gt;If its 24 hours, why does it have a AM/PM ? 16:00:00 AM wouldn't make much sense!&lt;/P&gt;</description>
    <pubDate>Tue, 31 Jan 2017 13:37:35 GMT</pubDate>
    <dc:creator>jplumsdaine22</dc:creator>
    <dc:date>2017-01-31T13:37:35Z</dc:date>
    <item>
      <title>TIME_FORMAT regex help</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TIME-FORMAT-regex-help/m-p/264973#M96098</link>
      <description>&lt;P&gt;&lt;STRONG&gt;12/02/2015&lt;/STRONG&gt; 12:00:00 AM, Execute time: &lt;STRONG&gt;0150&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;looking to extract the date and the 24hr time pls&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 06:13:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TIME-FORMAT-regex-help/m-p/264973#M96098</guid>
      <dc:creator>Esky73</dc:creator>
      <dc:date>2017-01-31T06:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_FORMAT regex help</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TIME-FORMAT-regex-help/m-p/264974#M96099</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;P&gt;rex field=_raw "(?ms)^(?P\d{2}\/\d{2}\/\d{4}\s+\d{2}:\d{2}:\d{2}\s+\w{2})"&lt;/P&gt;

&lt;P&gt;You can use Splunk's "Extract Fields" from Event Actions to perform the same.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 06:54:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TIME-FORMAT-regex-help/m-p/264974#M96099</guid>
      <dc:creator>harshal_chakran</dc:creator>
      <dc:date>2017-01-31T06:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_FORMAT regex help</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TIME-FORMAT-regex-help/m-p/264975#M96100</link>
      <description>&lt;P&gt;hi thanks - i'm trying to do this in a props.conf file - not in a search&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 07:06:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TIME-FORMAT-regex-help/m-p/264975#M96100</guid>
      <dc:creator>Esky73</dc:creator>
      <dc:date>2017-01-31T07:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_FORMAT regex help</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TIME-FORMAT-regex-help/m-p/264976#M96101</link>
      <description>&lt;P&gt;See here for the time format variables&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Commontimeformatvariables"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Commontimeformatvariables&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Assuming the date is month/day/year and the time is a 12 hour clock (not 24 hour as you say), try &lt;BR /&gt;
 &lt;CODE&gt;TIME_FORMAT = %m/%d/%Y %I:%M:%S %p&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 09:28:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TIME-FORMAT-regex-help/m-p/264976#M96101</guid>
      <dc:creator>jplumsdaine22</dc:creator>
      <dc:date>2017-01-31T09:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_FORMAT regex help</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TIME-FORMAT-regex-help/m-p/264977#M96102</link>
      <description>&lt;P&gt;it is definitely 24h - thanks i'll try first thing in the morn&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 13:12:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TIME-FORMAT-regex-help/m-p/264977#M96102</guid>
      <dc:creator>Esky73</dc:creator>
      <dc:date>2017-01-31T13:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_FORMAT regex help</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TIME-FORMAT-regex-help/m-p/264978#M96103</link>
      <description>&lt;P&gt;If its 24 hours, why does it have a AM/PM ? 16:00:00 AM wouldn't make much sense!&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 13:37:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TIME-FORMAT-regex-help/m-p/264978#M96103</guid>
      <dc:creator>jplumsdaine22</dc:creator>
      <dc:date>2017-01-31T13:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_FORMAT regex help</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TIME-FORMAT-regex-help/m-p/264979#M96104</link>
      <description>&lt;P&gt;i see your point - however, further entries:&lt;/P&gt;

&lt;P&gt;12/02/2015 12:00:00 AM, Execute Time: 1415&lt;BR /&gt;
12/02/2015 12:00:00 AM, Execute Time: 1500&lt;BR /&gt;
12/02/2015 12:00:00 AM, Execute Time: 1515&lt;BR /&gt;
12/02/2015 12:00:00 AM, Execute Time: 1315&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 13:47:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TIME-FORMAT-regex-help/m-p/264979#M96104</guid>
      <dc:creator>Esky73</dc:creator>
      <dc:date>2017-01-31T13:47:01Z</dc:date>
    </item>
  </channel>
</rss>

