<?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: Track value change over time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-group-events-subtract-earliest-rank-from-latest-rank-per/m-p/516911#M145308</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats earliest(rank) as earliest_rank latest(rank) as latest_rank by user 
| eval final_rank = latest_rank-earliest_rank
| table user final_rank&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 30 Aug 2020 14:02:56 GMT</pubDate>
    <dc:creator>thambisetty</dc:creator>
    <dc:date>2020-08-30T14:02:56Z</dc:date>
    <item>
      <title>How to group events, subtract earliest rank from latest rank per user, and track value change over time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-group-events-subtract-earliest-rank-from-latest-rank-per/m-p/516908#M145307</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Each event represents a user state and every user has rank.&lt;/P&gt;
&lt;P&gt;data look as follow :&lt;/P&gt;
&lt;TABLE border="1" width="54.985955056179776%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;time&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;rank&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;user&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;time1&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;30&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;time1&lt;/TD&gt;
&lt;TD&gt;50&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;time2&lt;/TD&gt;
&lt;TD&gt;25&lt;/TD&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;time2&lt;/TD&gt;
&lt;TD&gt;51&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea on how to group events by time, and subtract the earliest rank from the latest rank for each user?&lt;/P&gt;
&lt;P&gt;M&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2020 23:12:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-group-events-subtract-earliest-rank-from-latest-rank-per/m-p/516908#M145307</guid>
      <dc:creator>amoulkaf</dc:creator>
      <dc:date>2020-08-31T23:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Track value change over time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-group-events-subtract-earliest-rank-from-latest-rank-per/m-p/516911#M145308</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats earliest(rank) as earliest_rank latest(rank) as latest_rank by user 
| eval final_rank = latest_rank-earliest_rank
| table user final_rank&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Aug 2020 14:02:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-group-events-subtract-earliest-rank-from-latest-rank-per/m-p/516911#M145308</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-08-30T14:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Track value change over time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-group-events-subtract-earliest-rank-from-latest-rank-per/m-p/516916#M145311</link>
      <description>&lt;P&gt;Have you more than two times/ranks for particular user and are there at least two ranks per user?&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Sun, 30 Aug 2020 14:28:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-group-events-subtract-earliest-rank-from-latest-rank-per/m-p/516916#M145311</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-08-30T14:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Track value change over time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-group-events-subtract-earliest-rank-from-latest-rank-per/m-p/517068#M145363</link>
      <description>&lt;P&gt;Yes, same user can have more than two times/ranks.&lt;BR /&gt;Solution sugjested byt thambisetty takes that into account and works perfectly.&lt;BR /&gt;Thanks&lt;/P&gt;&lt;DIV class="lia-message-author-avatar lia-component-author-avatar lia-component-message-view-widget-author-avatar"&gt;&lt;DIV class="UserAvatar lia-user-avatar lia-component-common-widget-user-avatar"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2020 16:52:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-group-events-subtract-earliest-rank-from-latest-rank-per/m-p/517068#M145363</guid>
      <dc:creator>amoulkaf</dc:creator>
      <dc:date>2020-08-31T16:52:05Z</dc:date>
    </item>
  </channel>
</rss>

