<?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 extract time format using rex? &amp;quot;TransactionStartTime=12/19/2017 06:23:35.474&amp;quot; in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-time-format-using-rex-quot-TransactionStartTime/m-p/348805#M103246</link>
    <description>&lt;P&gt;if you to extract this as your event time then put below in props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[your_sourcetype]
TIME_PREFIX = TransactionStartTime=
TIME_FORMAT = %m/%d/%y %H:%M:%S.%3N
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you want to extract it in a field called "TransactionStartTime"&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=your_index | rex field=_raw "TransactionStartTime=(?P&amp;lt;TransactionStartTime&amp;gt;\d{2}\/\d{2}\/\d{4}\s\d{2}:\d{2}:\d{2}\.\d{3})"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if this helps!&lt;/P&gt;</description>
    <pubDate>Tue, 19 Dec 2017 06:49:26 GMT</pubDate>
    <dc:creator>mayurr98</dc:creator>
    <dc:date>2017-12-19T06:49:26Z</dc:date>
    <item>
      <title>How to extract time format using rex? "TransactionStartTime=12/19/2017 06:23:35.474"</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-time-format-using-rex-quot-TransactionStartTime/m-p/348804#M103245</link>
      <description>&lt;P&gt;How to extract time format using rex ?&lt;/P&gt;

&lt;P&gt;TransactionStartTime=12/19/2017 06:23:35.474;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 06:30:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-time-format-using-rex-quot-TransactionStartTime/m-p/348804#M103245</guid>
      <dc:creator>karthi2809</dc:creator>
      <dc:date>2017-12-19T06:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract time format using rex? "TransactionStartTime=12/19/2017 06:23:35.474"</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-time-format-using-rex-quot-TransactionStartTime/m-p/348805#M103246</link>
      <description>&lt;P&gt;if you to extract this as your event time then put below in props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[your_sourcetype]
TIME_PREFIX = TransactionStartTime=
TIME_FORMAT = %m/%d/%y %H:%M:%S.%3N
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you want to extract it in a field called "TransactionStartTime"&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=your_index | rex field=_raw "TransactionStartTime=(?P&amp;lt;TransactionStartTime&amp;gt;\d{2}\/\d{2}\/\d{4}\s\d{2}:\d{2}:\d{2}\.\d{3})"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 06:49:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-time-format-using-rex-quot-TransactionStartTime/m-p/348805#M103246</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2017-12-19T06:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract time format using rex? "TransactionStartTime=12/19/2017 06:23:35.474"</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-time-format-using-rex-quot-TransactionStartTime/m-p/348806#M103247</link>
      <description>&lt;P&gt;Thanks you mayurr98 &lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 06:53:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-time-format-using-rex-quot-TransactionStartTime/m-p/348806#M103247</guid>
      <dc:creator>karthi2809</dc:creator>
      <dc:date>2017-12-19T06:53:45Z</dc:date>
    </item>
  </channel>
</rss>

