<?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: Leaderboard report in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Leaderboard-report/m-p/80985#M1833</link>
    <description>&lt;P&gt;You could do this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal earliest=-1w@d latest=@d | top source | join source [search index=_internal earliest=-2w@d latest=-1w@d | top source | rename count as previous_count percent as previous_percent] | eval delta = count - previous_count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Modify to fit your data and desired output.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Apr 2013 20:29:51 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2013-04-01T20:29:51Z</dc:date>
    <item>
      <title>Leaderboard report</title>
      <link>https://community.splunk.com/t5/Reporting/Leaderboard-report/m-p/80984#M1832</link>
      <description>&lt;P&gt;I'd like to build a leaderboard style report.  I want to show the top 100 items in a list and have a column that shows the delta compared to this same time last week.  Is there a plugin or some other report that makes this possible?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2013 18:51:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Leaderboard-report/m-p/80984#M1832</guid>
      <dc:creator>ianmaddox4bookr</dc:creator>
      <dc:date>2013-04-01T18:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Leaderboard report</title>
      <link>https://community.splunk.com/t5/Reporting/Leaderboard-report/m-p/80985#M1833</link>
      <description>&lt;P&gt;You could do this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal earliest=-1w@d latest=@d | top source | join source [search index=_internal earliest=-2w@d latest=-1w@d | top source | rename count as previous_count percent as previous_percent] | eval delta = count - previous_count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Modify to fit your data and desired output.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2013 20:29:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Leaderboard-report/m-p/80985#M1833</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-04-01T20:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Leaderboard report</title>
      <link>https://community.splunk.com/t5/Reporting/Leaderboard-report/m-p/80986#M1834</link>
      <description>&lt;P&gt;Thanks!  That was definitely the right approach.  I massaged it a bit to give a delta of rankings:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;sourcetype=search earliest=-1d@d latest=@d | top search_query limit=100 | eval rank = 1 | accum rank | join search_query [search sourcetype=search earliest=-2d@d latest=-1d@d | top search_query limit=500 | eval prev_rank = 1 | accum prev_rank  | rename count as prev_count percent as prev_percent] | eval delta = "+" . (prev_rank - rank) | replace "+-&lt;EM&gt;" with "-&lt;/EM&gt;" in delta | replace "+0" with "--" in delta | table delta search_query count percent&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:39:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Leaderboard-report/m-p/80986#M1834</guid>
      <dc:creator>ianmaddox4bookr</dc:creator>
      <dc:date>2020-09-28T13:39:04Z</dc:date>
    </item>
  </channel>
</rss>

