<?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: How to assign timestamp for an event from two different fields in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-assign-timestamp-for-an-event-from-two-different-fields/m-p/366286#M66629</link>
    <description>&lt;P&gt;Beautiful,&lt;BR /&gt;
regarding the second part of the question, @jkat54 used the erx command to extract the timeestamp which means its at search time. it will not affect other settings&lt;/P&gt;</description>
    <pubDate>Sun, 07 May 2017 13:55:23 GMT</pubDate>
    <dc:creator>adonio</dc:creator>
    <dc:date>2017-05-07T13:55:23Z</dc:date>
    <item>
      <title>How to assign timestamp for an event from two different fields</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-assign-timestamp-for-an-event-from-two-different-fields/m-p/366284#M66627</link>
      <description>&lt;P&gt;I have an event like&lt;/P&gt;

&lt;P&gt;"abcabcabc....abc..timestamp:-2017-05-05T*&lt;EM&gt;08:08:08.987&lt;/EM&gt;&lt;EM&gt;.....abc...abc.....date:-&lt;/EM&gt;&lt;EM&gt;2017-05-03&lt;/EM&gt;*......""&lt;/P&gt;

&lt;P&gt;I need to assign _time where date should be extracted from date field and time value should be extracted from timestamp field.&lt;BR /&gt;
Is there any possibility.&lt;/P&gt;

&lt;P&gt;If I need to use datatime_renamed.xml , where I should place this new resulting file. Does this effect existing settings on other indexes.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:58:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-assign-timestamp-for-an-event-from-two-different-fields/m-p/366284#M66627</guid>
      <dc:creator>ankithreddy777</dc:creator>
      <dc:date>2020-09-29T13:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign timestamp for an event from two different fields</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-assign-timestamp-for-an-event-from-two-different-fields/m-p/366285#M66628</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| rex "(?&amp;lt;time&amp;gt;\d{2}:\d{2}:\d{2}\.\d{3})" 
| rex "date:-(?&amp;lt;date&amp;gt;\d{4}-\d{2}-\d{2})"
| eval datetime=strftime(date."T".time, "%FT%T.%3N")
| table datetime
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 07 May 2017 12:55:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-assign-timestamp-for-an-event-from-two-different-fields/m-p/366285#M66628</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2017-05-07T12:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign timestamp for an event from two different fields</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-assign-timestamp-for-an-event-from-two-different-fields/m-p/366286#M66629</link>
      <description>&lt;P&gt;Beautiful,&lt;BR /&gt;
regarding the second part of the question, @jkat54 used the erx command to extract the timeestamp which means its at search time. it will not affect other settings&lt;/P&gt;</description>
      <pubDate>Sun, 07 May 2017 13:55:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-assign-timestamp-for-an-event-from-two-different-fields/m-p/366286#M66629</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-05-07T13:55:23Z</dc:date>
    </item>
  </channel>
</rss>

