<?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 Using sort 0 to avoid 10000 row limit in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Using-sort-0-to-avoid-10000-row-limit/m-p/502707#M139897</link>
    <description>&lt;P&gt;&lt;IMG src="http://clipartmag.com/images/question-mark-animated-gif-31.gif" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;Sorry for the silly attention-grabbing dancing question mark. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Thanks for any help on this. I've had to dive into the deep end of Splunk with no previous exposure for various staffing reasons, so please forgive my ignorance.&lt;/P&gt;

&lt;H2&gt;I'm trying to get my use of the sort 0 command (to override the 10k scheduler output limitation. I'm using the cloud version so no control on the conf files on the server or anything like that.&lt;/H2&gt;

&lt;H3&gt;Where am I still missing a sort 0?!?&lt;/H3&gt;

&lt;HR /&gt;

&lt;P&gt;I've got this, but it's still truncating all rows after 10,000 rows.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Thing.process.valid.request OR herschel.update.job.completed

| transaction activity_id startswith="Thing.process.valid.request" endswith="herschel.update.job.completed"

| eval start_time=_time

| eval end_time=_time+duration

| convert timeformat="%Y-%m-%d %H:%M:%S" ctime(start_time) AS ThingPackager_Start

| convert timeformat="%Y-%m-%d %H:%M:%S" ctime(end_time) AS Sent_To_Thing

| eval delay_hours = round(duration/60/60, 2)

| rename activity_id AS tar_name

| eval media_assetID=substr(tar_name,1,12)

| sort 0 end_time

| stats first  as *, first(_*) as _* by media_assetID

| table Thing_Start Sent_To_Thing start_time end_time Thing_id tar_name media_assetID delay_hours | sort 0 by delay_hours desc
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thank you for any help, I'm going bonkers trying to get my head around this syntax.&lt;/P&gt;</description>
    <pubDate>Tue, 19 May 2020 07:47:19 GMT</pubDate>
    <dc:creator>leica0000</dc:creator>
    <dc:date>2020-05-19T07:47:19Z</dc:date>
    <item>
      <title>Using sort 0 to avoid 10000 row limit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-sort-0-to-avoid-10000-row-limit/m-p/502707#M139897</link>
      <description>&lt;P&gt;&lt;IMG src="http://clipartmag.com/images/question-mark-animated-gif-31.gif" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;Sorry for the silly attention-grabbing dancing question mark. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Thanks for any help on this. I've had to dive into the deep end of Splunk with no previous exposure for various staffing reasons, so please forgive my ignorance.&lt;/P&gt;

&lt;H2&gt;I'm trying to get my use of the sort 0 command (to override the 10k scheduler output limitation. I'm using the cloud version so no control on the conf files on the server or anything like that.&lt;/H2&gt;

&lt;H3&gt;Where am I still missing a sort 0?!?&lt;/H3&gt;

&lt;HR /&gt;

&lt;P&gt;I've got this, but it's still truncating all rows after 10,000 rows.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Thing.process.valid.request OR herschel.update.job.completed

| transaction activity_id startswith="Thing.process.valid.request" endswith="herschel.update.job.completed"

| eval start_time=_time

| eval end_time=_time+duration

| convert timeformat="%Y-%m-%d %H:%M:%S" ctime(start_time) AS ThingPackager_Start

| convert timeformat="%Y-%m-%d %H:%M:%S" ctime(end_time) AS Sent_To_Thing

| eval delay_hours = round(duration/60/60, 2)

| rename activity_id AS tar_name

| eval media_assetID=substr(tar_name,1,12)

| sort 0 end_time

| stats first  as *, first(_*) as _* by media_assetID

| table Thing_Start Sent_To_Thing start_time end_time Thing_id tar_name media_assetID delay_hours | sort 0 by delay_hours desc
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thank you for any help, I'm going bonkers trying to get my head around this syntax.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 07:47:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-sort-0-to-avoid-10000-row-limit/m-p/502707#M139897</guid>
      <dc:creator>leica0000</dc:creator>
      <dc:date>2020-05-19T07:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using sort 0 to avoid 10000 row limit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-sort-0-to-avoid-10000-row-limit/m-p/502708#M139898</link>
      <description>&lt;P&gt;This is not due to &lt;CODE&gt;sort&lt;/CODE&gt;&lt;BR /&gt;
see reference:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Limitsconf#.5Btransactions.5D"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Limitsconf#.5Btransactions.5D&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 14:31:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-sort-0-to-avoid-10000-row-limit/m-p/502708#M139898</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-05-19T14:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using sort 0 to avoid 10000 row limit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-sort-0-to-avoid-10000-row-limit/m-p/502709#M139899</link>
      <description>&lt;P&gt;You're hitting a limit in your &lt;CODE&gt;transaction&lt;/CODE&gt; command. I'd also recommend adding &lt;CODE&gt;sort&lt;/CODE&gt; AFTER your reporting command &lt;CODE&gt;stats&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 15:48:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-sort-0-to-avoid-10000-row-limit/m-p/502709#M139899</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2020-05-19T15:48:37Z</dc:date>
    </item>
  </channel>
</rss>

