<?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: Single value from multiple values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Single-value-from-multiple-values/m-p/511705#M143476</link>
    <description>&lt;P&gt;Thank you so much&lt;/P&gt;&lt;P&gt;Stats latest(date) as date by id is giving the values what i need&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jul 2020 08:16:55 GMT</pubDate>
    <dc:creator>renuka</dc:creator>
    <dc:date>2020-07-30T08:16:55Z</dc:date>
    <item>
      <title>Single value from multiple values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Single-value-from-multiple-values/m-p/511696#M143472</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="renuka_0-1596095140908.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9955i68BBC02AAF732F89/image-size/medium?v=v2&amp;amp;px=400" role="button" title="renuka_0-1596095140908.png" alt="renuka_0-1596095140908.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In my data i am getting multiple dates for single id.i need only recent date for each date.how can i remove other dates.please refer screenshot&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;renuka&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 07:47:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Single-value-from-multiple-values/m-p/511696#M143472</guid>
      <dc:creator>renuka</dc:creator>
      <dc:date>2020-07-30T07:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Single value from multiple values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Single-value-from-multiple-values/m-p/511697#M143473</link>
      <description>&lt;P&gt;I can't see your field names, but I am assuming you are getting your results from a search terminating with something like&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats values(date) as dates by id&lt;/LI-CODE&gt;&lt;P&gt;you should use&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats latest(date) as date by id&lt;/LI-CODE&gt;&lt;P&gt;but without seeing your search I can't give you a better response&lt;/P&gt;&lt;P&gt;Hope this points you in the right direction&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 07:51:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Single-value-from-multiple-values/m-p/511697#M143473</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2020-07-30T07:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Single value from multiple values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Single-value-from-multiple-values/m-p/511703#M143475</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="renuka_0-1596095776632.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9957i5403ED0488B2DD97/image-size/medium?v=v2&amp;amp;px=400" role="button" title="renuka_0-1596095776632.png" alt="renuka_0-1596095776632.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thank you for reply,this is my search command and fields&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 07:57:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Single-value-from-multiple-values/m-p/511703#M143475</guid>
      <dc:creator>renuka</dc:creator>
      <dc:date>2020-07-30T07:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Single value from multiple values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Single-value-from-multiple-values/m-p/511705#M143476</link>
      <description>&lt;P&gt;Thank you so much&lt;/P&gt;&lt;P&gt;Stats latest(date) as date by id is giving the values what i need&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 08:16:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Single-value-from-multiple-values/m-p/511705#M143476</guid>
      <dc:creator>renuka</dc:creator>
      <dc:date>2020-07-30T08:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Single value from multiple values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Single-value-from-multiple-values/m-p/511707#M143478</link>
      <description>&lt;P&gt;You may need to check that the Splunk _time field actually equates to the TC_D2_Execution_Date. If not, then you will need to to it slightly differently, by looking for the largest date, i.e.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval t=strptime(TC_D2_Execution_Date, "%a %d %b %Y %H:%M:%S")
| stats max(t) as Date by "CRS_Customer Requirement Identifier"
| eval Date=strftime(Date, "%a %d %b %Y %H:%M:%S")&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 30 Jul 2020 08:24:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Single-value-from-multiple-values/m-p/511707#M143478</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2020-07-30T08:24:56Z</dc:date>
    </item>
  </channel>
</rss>

