<?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: Can a PDF table be more than 1000 rows? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419204#M120513</link>
    <description>&lt;P&gt;@adamsmith47 I ran the following search in a dashboard for &lt;CODE&gt;Yesterday&lt;/CODE&gt; data spanning every minute to generate &lt;CODE&gt;1440&lt;/CODE&gt; rows and tested Scheduled PDF Delivery&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd
| timechart span=1m count by component
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;With default limits I noticed only &lt;CODE&gt;1000&lt;/CODE&gt; events in the test PDF generated. &lt;/P&gt;

&lt;P&gt;So I created following &lt;CODE&gt;limits.conf&lt;/CODE&gt; in &lt;CODE&gt;system/local&lt;/CODE&gt; and I was able to see &lt;CODE&gt;1440&lt;/CODE&gt; in the test mode Scheduled PDF Delivery&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[pdf]
max_mem_usage_mb = 2048
max_rows_per_table = 2000
render_endpoint_timeout = 4200
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So you need to check the following:&lt;/P&gt;

&lt;P&gt;1) Use btool to confirm that your app's limits.conf for &lt;CODE&gt;max_rows_per_table&lt;/CODE&gt; is getting picked. In case there already is a limits.conf in system/local that someone else has put then that will be used.&lt;BR /&gt;
2) Either one of Max memory usage or Timeout is not happening.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Apr 2019 22:42:59 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2019-04-17T22:42:59Z</dc:date>
    <item>
      <title>Can a PDF table be more than 1000 rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419199#M120508</link>
      <description>&lt;P&gt;I'm in the process of building some high-priority dashboards for my management (time critical), and I'm having a problem when I schedule the PDF for delivery. One of my tables has 1370 rows, but the PDF version stops at 1000 rows.&lt;/P&gt;

&lt;P&gt;Following guides here: &lt;A href="https://docs.splunk.com/Documentation/Splunk/6.6.11/Viz/DashboardPDFs#Additional_configurations_for_PDF_printing" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/6.6.11/Viz/DashboardPDFs#Additional_configurations_for_PDF_printing&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I discovered the defaults in limits.conf are:&lt;BR /&gt;
[pdf]&lt;BR /&gt;
max_mem_usage_mb = 200&lt;BR /&gt;
max_rows_per_table = 1000&lt;BR /&gt;
render_endpoint_timeout = 3600&lt;/P&gt;

&lt;P&gt;I've changed them to the following, by pushing an app and restarting:&lt;BR /&gt;
[pdf]&lt;BR /&gt;
max_mem_usage_mb = 300&lt;BR /&gt;
max_rows_per_table = 2000&lt;BR /&gt;
render_endpoint_timeout = 3600&lt;/P&gt;

&lt;P&gt;The table still stops at 1000 rows in the PDF.&lt;/P&gt;

&lt;P&gt;Is this limitation not surpassable?&lt;/P&gt;

&lt;P&gt;Any help is greatly apprecitated. Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:11:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419199#M120508</guid>
      <dc:creator>adamsmith47</dc:creator>
      <dc:date>2020-09-30T00:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can a PDF table be more than 1000 rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419200#M120509</link>
      <description>&lt;P&gt;curious about the use case that requires a report with 1370 lines table ...&lt;BR /&gt;
if i read a line in half a second, itll take ~13 minutes to complete reading that report without repeating the same line again because my eyes or brain got tired.&lt;BR /&gt;
there must (i think) be a better way&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 20:52:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419200#M120509</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-04-17T20:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can a PDF table be more than 1000 rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419201#M120510</link>
      <description>&lt;P&gt;Can I down vote this comment?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 20:58:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419201#M120510</guid>
      <dc:creator>adamsmith47</dc:creator>
      <dc:date>2019-04-17T20:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can a PDF table be more than 1000 rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419202#M120511</link>
      <description>&lt;P&gt;@adamsmith47, &lt;BR /&gt;
here are the guidelines for answers.splunk.com, and specifically regarding down-voting:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunkbase/splunkbase/Answers/Voting#Downvoting"&gt;https://docs.splunk.com/Documentation/Splunkbase/splunkbase/Answers/Voting#Downvoting&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Downvoting should be reserved only for posts proposing solutions that could potentially be harmful for a Splunk environment or goes completely against known best practices.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;only asking a question with attempt to help, but its a free country, click where you want to click&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 21:04:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419202#M120511</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-04-17T21:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can a PDF table be more than 1000 rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419203#M120512</link>
      <description>&lt;P&gt;The customer wants a table that big.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 21:06:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419203#M120512</guid>
      <dc:creator>adamsmith47</dc:creator>
      <dc:date>2019-04-17T21:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can a PDF table be more than 1000 rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419204#M120513</link>
      <description>&lt;P&gt;@adamsmith47 I ran the following search in a dashboard for &lt;CODE&gt;Yesterday&lt;/CODE&gt; data spanning every minute to generate &lt;CODE&gt;1440&lt;/CODE&gt; rows and tested Scheduled PDF Delivery&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd
| timechart span=1m count by component
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;With default limits I noticed only &lt;CODE&gt;1000&lt;/CODE&gt; events in the test PDF generated. &lt;/P&gt;

&lt;P&gt;So I created following &lt;CODE&gt;limits.conf&lt;/CODE&gt; in &lt;CODE&gt;system/local&lt;/CODE&gt; and I was able to see &lt;CODE&gt;1440&lt;/CODE&gt; in the test mode Scheduled PDF Delivery&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[pdf]
max_mem_usage_mb = 2048
max_rows_per_table = 2000
render_endpoint_timeout = 4200
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So you need to check the following:&lt;/P&gt;

&lt;P&gt;1) Use btool to confirm that your app's limits.conf for &lt;CODE&gt;max_rows_per_table&lt;/CODE&gt; is getting picked. In case there already is a limits.conf in system/local that someone else has put then that will be used.&lt;BR /&gt;
2) Either one of Max memory usage or Timeout is not happening.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 22:42:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419204#M120513</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-04-17T22:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can a PDF table be more than 1000 rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419205#M120514</link>
      <description>&lt;P&gt;@niketnilay I've confirmed the limits with btool, but, I also upped the values to what you've had success with, and I still am limited to 1000 rows. Yes, Splunk has been restarted after changing values.&lt;/P&gt;

&lt;P&gt;I created a different dashboard to load the 1440 rows quickly&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;test 1400 rows with makeresults&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;1440 rows fast&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| makeresults count=1440
| streamstats count AS rows&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;50&amp;lt;/option&amp;gt;
        &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="percentagesRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;true&amp;lt;/option&amp;gt;
        &amp;lt;option name="totalsRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When using either Export &amp;gt; Export PDF, or Export &amp;gt; Schedule PDF delivery the PDF is limited to 1000 rows.&lt;/P&gt;

&lt;P&gt;Which version of Splunk are you using? I'm on 6.6.11.&lt;/P&gt;

&lt;P&gt;Would you mind testing my exact XML code above?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 12:51:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419205#M120514</guid>
      <dc:creator>adamsmith47</dc:creator>
      <dc:date>2019-04-18T12:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can a PDF table be more than 1000 rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419206#M120515</link>
      <description>&lt;P&gt;AH HA! Success!&lt;/P&gt;

&lt;P&gt;Once I changed the limits.conf in system/local it worked. Which means the limits.conf [pdf] stanza is not being properly read by splunk in etc/apps, even though it's showing up in btool. Strange.&lt;/P&gt;

&lt;P&gt;BUG ALERT!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 12:59:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419206#M120515</guid>
      <dc:creator>adamsmith47</dc:creator>
      <dc:date>2019-04-18T12:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can a PDF table be more than 1000 rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419207#M120516</link>
      <description>&lt;P&gt;@adamsmith47 I don't think this is bug, this is called out in Splunk Documentation that &lt;CODE&gt;system/local will have higher precedence than app/local or app/default.&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Wheretofindtheconfigurationfiles#Precedence_order_within_global_context:"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Wheretofindtheconfigurationfiles#Precedence_order_within_global_context:&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 21:11:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419207#M120516</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-04-18T21:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can a PDF table be more than 1000 rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419208#M120517</link>
      <description>&lt;P&gt;But files in apps have a higher priority than those in system/default, obviously. There were no conflicts with these settings in other apps.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 21:15:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419208#M120517</guid>
      <dc:creator>adamsmith47</dc:creator>
      <dc:date>2019-04-18T21:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can a PDF table be more than 1000 rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419209#M120518</link>
      <description>&lt;P&gt;Within apps do you have any other app that also has this configuration override? Because then it will be in alphabetical order for apps? Did &lt;CODE&gt;btool debug&lt;/CODE&gt; show that configuration was being picked from your &lt;CODE&gt;app's local&lt;/CODE&gt; settings?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 21:23:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419209#M120518</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-04-18T21:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can a PDF table be more than 1000 rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419210#M120519</link>
      <description>&lt;P&gt;Yes, btool showed the settings I was attempting to implement, within the app I was attempting to implement them with.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 23:40:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419210#M120519</guid>
      <dc:creator>adamsmith47</dc:creator>
      <dc:date>2019-04-18T23:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can a PDF table be more than 1000 rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419211#M120520</link>
      <description>&lt;P&gt;I believe that if you deploy limits.conf to MyApp/[default|local]/ the limits will only apply to users of MyApp unless you have something like export=system in your .meta files.&lt;/P&gt;

&lt;P&gt;If you put limits.conf in etc/system/local they're global.&lt;/P&gt;

&lt;P&gt;Most all of the .conf files i can think of work this way.  &lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 15:10:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-a-PDF-table-be-more-than-1000-rows/m-p/419211#M120520</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2019-04-24T15:10:05Z</dc:date>
    </item>
  </channel>
</rss>

