<?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: Pull Timestamp from Field in Raw Data in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Pull-Timestamp-from-Field-in-Raw-Data/m-p/92794#M19294</link>
    <description>&lt;P&gt;Here is my search :  &lt;A href="mailto:x@wireless.com"&gt;x@wireless.com&lt;/A&gt; | convert ctime(Event_Time) as TIME&lt;/P&gt;

&lt;P&gt;I just want to make the TIME field automatically show up as the timestamp.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Riley&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2013 17:59:36 GMT</pubDate>
    <dc:creator>rdschmidt</dc:creator>
    <dc:date>2013-07-11T17:59:36Z</dc:date>
    <item>
      <title>Pull Timestamp from Field in Raw Data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Pull-Timestamp-from-Field-in-Raw-Data/m-p/92791#M19291</link>
      <description>&lt;P&gt;Can anyone tell me how to configure my Props.conf to use a defined field "Event_Time" (Which is in Epoch Time) for the timestamp (_time) instead of pulling the time when the file was saved?&lt;/P&gt;

&lt;P&gt;Currently i have this configured:&lt;/P&gt;

&lt;P&gt;TIME_FORMAT = %b %d %H:%M:%S ctime(Event_Time)&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 32&lt;BR /&gt;
TZ =  US/Central&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Riley&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:19:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Pull-Timestamp-from-Field-in-Raw-Data/m-p/92791#M19291</guid>
      <dc:creator>rdschmidt</dc:creator>
      <dc:date>2020-09-28T14:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Pull Timestamp from Field in Raw Data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Pull-Timestamp-from-Field-in-Raw-Data/m-p/92792#M19292</link>
      <description>&lt;P&gt;Please use &lt;/P&gt;

&lt;P&gt;TIME_FORMAT=%s&lt;BR /&gt;
TIME_PREFIX= (regex)&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 32&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:19:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Pull-Timestamp-from-Field-in-Raw-Data/m-p/92792#M19292</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2020-09-28T14:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Pull Timestamp from Field in Raw Data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Pull-Timestamp-from-Field-in-Raw-Data/m-p/92793#M19293</link>
      <description>&lt;P&gt;Raw Data:&lt;BR /&gt;
213|2|0|1|0|x||x.x.x.x|&lt;A href="mailto:x@wireless.com"&gt;x@wireless.com&lt;/A&gt;|0782A8FC|07784722|0|0|x.x.x.x|x.x.x.x|x.x.x.x|0083|0|0|0|59|0|0|0|0|0|2|1|3|0|0|9747835|197309|0|1373498910|2019|0|0|0|0|0|211465|0|0|10|0|0|0|0|0||10026|2|0|1|541|3539|6668|1|07784722|0|0|0|24|x|0104000102040001|875560960||0|0|0|0||1373498539||0|311650|0|0|0|0|0|0|0|0|0||0|0|0|-1|||| &lt;/P&gt;

&lt;P&gt;timestamp:  7/10/13 6:54:51.000 PM&lt;/P&gt;

&lt;P&gt;Derived Fields:&lt;BR /&gt;
|  &lt;STRONG&gt;Event_Time=1373498910&lt;/STRONG&gt;   |  &lt;STRONG&gt;TIME=07/10/2013 18:28:30&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2013 17:59:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Pull-Timestamp-from-Field-in-Raw-Data/m-p/92793#M19293</guid>
      <dc:creator>rdschmidt</dc:creator>
      <dc:date>2013-07-11T17:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Pull Timestamp from Field in Raw Data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Pull-Timestamp-from-Field-in-Raw-Data/m-p/92794#M19294</link>
      <description>&lt;P&gt;Here is my search :  &lt;A href="mailto:x@wireless.com"&gt;x@wireless.com&lt;/A&gt; | convert ctime(Event_Time) as TIME&lt;/P&gt;

&lt;P&gt;I just want to make the TIME field automatically show up as the timestamp.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Riley&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2013 17:59:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Pull-Timestamp-from-Field-in-Raw-Data/m-p/92794#M19294</guid>
      <dc:creator>rdschmidt</dc:creator>
      <dc:date>2013-07-11T17:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Pull Timestamp from Field in Raw Data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Pull-Timestamp-from-Field-in-Raw-Data/m-p/92795#M19295</link>
      <description>&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.2/Data/Configuretimestamprecognition"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.2/Data/Configuretimestamprecognition&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/HowSplunkextractstimestamps"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/HowSplunkextractstimestamps&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You don't extract timestamps from fields, because field extractions happen at a much later stage (and for most fields doesn't happen at index-time at all).&lt;/P&gt;

&lt;P&gt;I took your sample event and threw it into RegExr (&lt;A href="http://gskinner.com/RegExr/"&gt;http://gskinner.com/RegExr/&lt;/A&gt; ) and came up with a &lt;CODE&gt;TIME_PREFIX&lt;/CODE&gt; regex that should work for you:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_PREFIX = ^(?:[^|]*\|){34}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After that you can just use "&lt;CODE&gt;TIME_FORMAT = %s&lt;/CODE&gt;" because it's an ordinary epoch timestamp.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2013 18:21:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Pull-Timestamp-from-Field-in-Raw-Data/m-p/92795#M19295</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-07-11T18:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pull Timestamp from Field in Raw Data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Pull-Timestamp-from-Field-in-Raw-Data/m-p/92796#M19296</link>
      <description>&lt;P&gt;TIME_FORMAT=%s &lt;BR /&gt;
TIME_PREFIX= \d{7}\|\d{6}\|\d\|&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 10&lt;/P&gt;

&lt;P&gt;could you try setting props.conf and index new data?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:19:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Pull-Timestamp-from-Field-in-Raw-Data/m-p/92796#M19296</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2020-09-28T14:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Pull Timestamp from Field in Raw Data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Pull-Timestamp-from-Field-in-Raw-Data/m-p/92797#M19297</link>
      <description>&lt;P&gt;Hi, Riley.&lt;/P&gt;

&lt;P&gt;I have a question regarding Huawei CSOFTX3000 CDRs. What do you use to decode CDR file? I search for solution, and I found only this splunk application from dmillis. But still I dont understand how to use it to decode CDR files.&lt;/P&gt;

&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2013 10:24:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Pull-Timestamp-from-Field-in-Raw-Data/m-p/92797#M19297</guid>
      <dc:creator>ryainad</dc:creator>
      <dc:date>2013-07-31T10:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Pull Timestamp from Field in Raw Data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Pull-Timestamp-from-Field-in-Raw-Data/m-p/92798#M19298</link>
      <description>&lt;P&gt;The above time_prefix did fix our TimeStamp issues on our AAA records.  We are still working on the CSOFTX3000.  The issue is we are using 450 byte CDRs and the app is built for 350 byte.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2013 16:07:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Pull-Timestamp-from-Field-in-Raw-Data/m-p/92798#M19298</guid>
      <dc:creator>rdschmidt</dc:creator>
      <dc:date>2013-07-31T16:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Pull Timestamp from Field in Raw Data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Pull-Timestamp-from-Field-in-Raw-Data/m-p/92799#M19299</link>
      <description>&lt;P&gt;I got this Huawei CDR sample file. But I don't know know what type of the file is it. (250 byte or 350 byte or 450 byte) Could you please tell me how to know it?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2013 03:31:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Pull-Timestamp-from-Field-in-Raw-Data/m-p/92799#M19299</guid>
      <dc:creator>ryainad</dc:creator>
      <dc:date>2013-08-05T03:31:04Z</dc:date>
    </item>
  </channel>
</rss>

