<?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: Using 'by' clause overrides 'limit'? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Using-by-clause-overrides-limit/m-p/479514#M134390</link>
    <description>&lt;P&gt;Have you tried &lt;CODE&gt;top limit=5 product_name price by Code&lt;/CODE&gt; or &lt;CODE&gt;top 5 product_name price by Code&lt;/CODE&gt;?&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jan 2020 12:11:15 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-01-06T12:11:15Z</dc:date>
    <item>
      <title>Using 'by' clause overrides 'limit'?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-by-clause-overrides-limit/m-p/479513#M134389</link>
      <description>&lt;P&gt;I have used the following &lt;BR /&gt;
source="C:\Users\spali\Downloads\products\*" host="DESKTOP-K35HBNT"&lt;BR /&gt;
| top product_name price by Code limit=5&lt;/P&gt;

&lt;P&gt;Code    product_name    price   count   percent&lt;BR /&gt;
A   Mediocre Kingdoms   24.99   1   100.000000&lt;BR /&gt;
B   Dream Crusher   39.99   1   100.000000&lt;BR /&gt;
C   Final Sequel    24.99   1   100.000000&lt;BR /&gt;
D   World of Cheese 24.99   1   100.000000&lt;BR /&gt;
E   World of Cheese Tee 9.99    1   100.000000&lt;BR /&gt;
F   Puppies vs. Zombies 4.99    1   100.000000&lt;BR /&gt;
G   Curling 2014    19.99   1   100.000000&lt;BR /&gt;
H   Manganiello Bros.   39.99   1   100.000000&lt;BR /&gt;
I   Manganiello Bros. Tee   9.99    1   100.000000&lt;BR /&gt;
J   Orvil the Wolverine 39.99   1   100.000000&lt;BR /&gt;
K   Benign Space Debris 24.99   1   100.000000&lt;BR /&gt;
L   SIM Cubicle 19.99   1   100.000000&lt;BR /&gt;
M   Holy Blade of Gouda 5.99    1   100.000000&lt;BR /&gt;
N   Fire Resistance Suit of Provolone   3.99    1   100.000000&lt;BR /&gt;
O   Grand Theft Scooter 24.99   1   100.000000&lt;BR /&gt;
P   SIM Cubicle Tee 9.99    1   100.000000&lt;/P&gt;

&lt;P&gt;I should have got only 5, Why is that I am getting more than that?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 11:31:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-by-clause-overrides-limit/m-p/479513#M134389</guid>
      <dc:creator>palisetty</dc:creator>
      <dc:date>2020-01-06T11:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using 'by' clause overrides 'limit'?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-by-clause-overrides-limit/m-p/479514#M134390</link>
      <description>&lt;P&gt;Have you tried &lt;CODE&gt;top limit=5 product_name price by Code&lt;/CODE&gt; or &lt;CODE&gt;top 5 product_name price by Code&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 12:11:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-by-clause-overrides-limit/m-p/479514#M134390</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-01-06T12:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using 'by' clause overrides 'limit'?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-by-clause-overrides-limit/m-p/479515#M134391</link>
      <description>&lt;P&gt;Because Code has 16 values.&lt;BR /&gt;
&lt;CODE&gt;limit&lt;/CODE&gt; is limited by each &lt;CODE&gt;Code&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 12:14:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-by-clause-overrides-limit/m-p/479515#M134391</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-01-06T12:14:36Z</dc:date>
    </item>
  </channel>
</rss>

