<?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 TIMESTAMP QUERY in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/TIMESTAMP-QUERY/m-p/107235#M22543</link>
    <description>&lt;P&gt;I have my log as&lt;BR /&gt;
SNM4 PGHF14LR.866F :: 04/03/13 11:46:32 :: Received file MOBIUSJ741.20130403 -  317982 bytes transferred&lt;BR /&gt;
SNM4 TDAM1EBY.864F :: 04/03/13 11:46:34 :: Execute_profile_recs: Submitting ftp trans due to quit command&lt;BR /&gt;
SNM4 TDAM1EBY.864F :: 04/03/13 11:46:36 :: Execute_profile_recs: Issuing Put of TDAMUSA_20130403_1147.enc to 'MD.B.DMVR.DV180-50.TDAM1EBY(+1)'&lt;/P&gt;

&lt;P&gt;From this i want to extract only the timestamp at which the  recieve file  event has taken place like &lt;BR /&gt;
want the result as&lt;BR /&gt;
timestamp                        bytes transferred&lt;BR /&gt;
04/03/13 11:46:32                317982 bytes transferred&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 15:01:32 GMT</pubDate>
    <dc:creator>srajanbabu</dc:creator>
    <dc:date>2020-09-28T15:01:32Z</dc:date>
    <item>
      <title>TIMESTAMP QUERY</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TIMESTAMP-QUERY/m-p/107235#M22543</link>
      <description>&lt;P&gt;I have my log as&lt;BR /&gt;
SNM4 PGHF14LR.866F :: 04/03/13 11:46:32 :: Received file MOBIUSJ741.20130403 -  317982 bytes transferred&lt;BR /&gt;
SNM4 TDAM1EBY.864F :: 04/03/13 11:46:34 :: Execute_profile_recs: Submitting ftp trans due to quit command&lt;BR /&gt;
SNM4 TDAM1EBY.864F :: 04/03/13 11:46:36 :: Execute_profile_recs: Issuing Put of TDAMUSA_20130403_1147.enc to 'MD.B.DMVR.DV180-50.TDAM1EBY(+1)'&lt;/P&gt;

&lt;P&gt;From this i want to extract only the timestamp at which the  recieve file  event has taken place like &lt;BR /&gt;
want the result as&lt;BR /&gt;
timestamp                        bytes transferred&lt;BR /&gt;
04/03/13 11:46:32                317982 bytes transferred&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:01:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TIMESTAMP-QUERY/m-p/107235#M22543</guid>
      <dc:creator>srajanbabu</dc:creator>
      <dc:date>2020-09-28T15:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: TIMESTAMP QUERY</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TIMESTAMP-QUERY/m-p/107236#M22544</link>
      <description>&lt;P&gt;Isn't this information already present in the &lt;CODE&gt;_time&lt;/CODE&gt; field? If not, or if you need to extract it anyway;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=blah sourcetpe=bleh "Received file" 
| rex "::\s(?&amp;lt;timestamp&amp;gt;\S+\s\S+)\s::" 
| rex "\s(?&amp;lt;bytes&amp;gt;\d+)\sbytes\stransferred$"
| table timestamp bytes
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you can use the default extracted time (in &lt;CODE&gt;_time&lt;/CODE&gt;) then just skip the first &lt;CODE&gt;rex&lt;/CODE&gt; and use &lt;CODE&gt;_time&lt;/CODE&gt; in the table instead of &lt;CODE&gt;timestamp&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;K &lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2013 08:53:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TIMESTAMP-QUERY/m-p/107236#M22544</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-10-21T08:53:44Z</dc:date>
    </item>
  </channel>
</rss>

