<?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: Adding Field Values Generated by a |stats latest(fieldvalue) command in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Adding-Field-Values-Generated-by-a-stats-latest-fieldvalue/m-p/527574#M148935</link>
    <description>&lt;P&gt;Thank you!!&amp;nbsp; This worked for me.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Nov 2020 17:16:49 GMT</pubDate>
    <dc:creator>jason_hotchkiss</dc:creator>
    <dc:date>2020-11-02T17:16:49Z</dc:date>
    <item>
      <title>Adding Field Values Generated by a |stats latest(fieldvalue) command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Adding-Field-Values-Generated-by-a-stats-latest-fieldvalue/m-p/527571#M148933</link>
      <description>&lt;P&gt;Hello -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following search:&lt;BR /&gt;&lt;BR /&gt;&amp;lt;base search&amp;gt;&lt;BR /&gt;| fields host registrations&lt;BR /&gt;| stats latest(registrations) by host&lt;BR /&gt;&lt;BR /&gt;This produces the following table:&lt;BR /&gt;&lt;BR /&gt;host&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; latest(registrations)&lt;BR /&gt;Pc1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 51&lt;/P&gt;&lt;P&gt;Pc2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 29&lt;/P&gt;&lt;P&gt;Pc3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 18&lt;BR /&gt;&lt;BR /&gt;How would I add the values of latest(registrations) to provide a single value for all 3 hosts?&amp;nbsp; For example, I would like only the sum of the latest registrations (98) to display in a single value panel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 17:09:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Adding-Field-Values-Generated-by-a-stats-latest-fieldvalue/m-p/527571#M148933</guid>
      <dc:creator>jason_hotchkiss</dc:creator>
      <dc:date>2020-11-02T17:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Field Values Generated by a |stats latest(fieldvalue) command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Adding-Field-Values-Generated-by-a-stats-latest-fieldvalue/m-p/527573#M148934</link>
      <description>&lt;LI-CODE lang="markup"&gt;&amp;lt;base search&amp;gt;
| fields host registrations
| stats latest(registrations) as latest_reg by host
| stats sum(latest_reg) as total_latest_reg&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 02 Nov 2020 17:14:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Adding-Field-Values-Generated-by-a-stats-latest-fieldvalue/m-p/527573#M148934</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-11-02T17:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Field Values Generated by a |stats latest(fieldvalue) command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Adding-Field-Values-Generated-by-a-stats-latest-fieldvalue/m-p/527574#M148935</link>
      <description>&lt;P&gt;Thank you!!&amp;nbsp; This worked for me.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 17:16:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Adding-Field-Values-Generated-by-a-stats-latest-fieldvalue/m-p/527574#M148935</guid>
      <dc:creator>jason_hotchkiss</dc:creator>
      <dc:date>2020-11-02T17:16:49Z</dc:date>
    </item>
  </channel>
</rss>

