<?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 Can you help me to extract a date field? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-to-extract-a-date-field/m-p/388195#M113197</link>
    <description>&lt;P&gt;Hello Splunkers,&lt;/P&gt;

&lt;P&gt;I need to extract only the date with the below logs in format mm/dd/yyyy. Could you please assist? Thanks&lt;/P&gt;

&lt;P&gt;Tue Apr 02 00:00:00 EDT 2019&lt;/P&gt;</description>
    <pubDate>Tue, 02 Apr 2019 15:26:59 GMT</pubDate>
    <dc:creator>ramprakash</dc:creator>
    <dc:date>2019-04-02T15:26:59Z</dc:date>
    <item>
      <title>Can you help me to extract a date field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-to-extract-a-date-field/m-p/388195#M113197</link>
      <description>&lt;P&gt;Hello Splunkers,&lt;/P&gt;

&lt;P&gt;I need to extract only the date with the below logs in format mm/dd/yyyy. Could you please assist? Thanks&lt;/P&gt;

&lt;P&gt;Tue Apr 02 00:00:00 EDT 2019&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 15:26:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-to-extract-a-date-field/m-p/388195#M113197</guid>
      <dc:creator>ramprakash</dc:creator>
      <dc:date>2019-04-02T15:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me to extract a date field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-to-extract-a-date-field/m-p/388196#M113198</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval date=strftime( strptime(&amp;lt;datetime field&amp;gt;, "%b %a %d %H:%M:%S %Z %Y"), "%m/%d/%Y") | ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 02 Apr 2019 16:02:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-to-extract-a-date-field/m-p/388196#M113198</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-04-02T16:02:41Z</dc:date>
    </item>
  </channel>
</rss>

