<?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: Remove Time from results in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Remove-Time-from-results/m-p/245698#M47475</link>
    <description>&lt;P&gt;That did the trick! So many thanks to everyone for the help!&lt;/P&gt;</description>
    <pubDate>Wed, 24 Aug 2016 21:44:12 GMT</pubDate>
    <dc:creator>pboynton63</dc:creator>
    <dc:date>2016-08-24T21:44:12Z</dc:date>
    <item>
      <title>Remove Time from results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Remove-Time-from-results/m-p/245692#M47469</link>
      <description>&lt;P&gt;Since a picture speaks a thousand words here is what my current results get me:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1764iE5B441C6CB88AB0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;As you can search my search gets me Date, Leased IP, and Host Name&lt;/P&gt;

&lt;P&gt;I would like the Date field to contain only the date i.e 08/24/2016 and not the hour, minute and second. Is there a way to do that?&lt;/P&gt;

&lt;P&gt;Thanks for any help you can throw my way,&lt;/P&gt;

&lt;P&gt;P.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 21:07:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Remove-Time-from-results/m-p/245692#M47469</guid>
      <dc:creator>pboynton63</dc:creator>
      <dc:date>2016-08-24T21:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Time from results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Remove-Time-from-results/m-p/245693#M47470</link>
      <description>&lt;P&gt;Add this to your search&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval Date=strftime(Date, "%x")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Aug 2016 21:09:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Remove-Time-from-results/m-p/245693#M47470</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-08-24T21:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Time from results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Remove-Time-from-results/m-p/245694#M47471</link>
      <description>&lt;P&gt;Thank you Sundareshr,&lt;/P&gt;

&lt;P&gt;Here are the results of your suggestion:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1762i6C928998755DA539/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt; &lt;/P&gt;

&lt;P&gt;It seems to have taken the date and time, and what I was looking for was just to remove the hour, minute, and second. I would still like the date e.g. 08/24/2016&lt;/P&gt;

&lt;P&gt;But I think we are close!&lt;/P&gt;

&lt;P&gt;Again my thanks,&lt;/P&gt;

&lt;P&gt;P.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 21:22:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Remove-Time-from-results/m-p/245694#M47471</guid>
      <dc:creator>pboynton63</dc:creator>
      <dc:date>2016-08-24T21:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Time from results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Remove-Time-from-results/m-p/245695#M47472</link>
      <description>&lt;P&gt;Skip the &lt;CODE&gt;convert&lt;/CODE&gt; - after that you have a string and no longer an epoch value which is required by &lt;CODE&gt;strftime()&lt;/CODE&gt; to work.&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 21:26:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Remove-Time-from-results/m-p/245695#M47472</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-08-24T21:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Time from results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Remove-Time-from-results/m-p/245696#M47473</link>
      <description>&lt;P&gt;I removed the convert piece as you suggested. That does not seem to have worked if I understood you correctly.&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1763iB1F60D9E917943E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 21:35:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Remove-Time-from-results/m-p/245696#M47473</guid>
      <dc:creator>pboynton63</dc:creator>
      <dc:date>2016-08-24T21:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Time from results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Remove-Time-from-results/m-p/245697#M47474</link>
      <description>&lt;P&gt;Instead of the convert, add this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval Date=strftime(_time, "%x") | fields - _time | ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Aug 2016 21:41:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Remove-Time-from-results/m-p/245697#M47474</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-08-24T21:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Time from results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Remove-Time-from-results/m-p/245698#M47475</link>
      <description>&lt;P&gt;That did the trick! So many thanks to everyone for the help!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 21:44:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Remove-Time-from-results/m-p/245698#M47475</guid>
      <dc:creator>pboynton63</dc:creator>
      <dc:date>2016-08-24T21:44:12Z</dc:date>
    </item>
  </channel>
</rss>

