<?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: Increasing number of events returned in REST api in perl script in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Increasing-number-of-events-returned-in-REST-api-in-perl-script/m-p/35219#M6388</link>
    <description>&lt;P&gt;Great! Could you please mark the question as answered as it will pop up as unanswered on the site otherwise. Thanks.&lt;/P&gt;</description>
    <pubDate>Sat, 29 Jan 2011 05:26:46 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2011-01-29T05:26:46Z</dc:date>
    <item>
      <title>Increasing number of events returned in REST api in perl script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Increasing-number-of-events-returned-in-REST-api-in-perl-script/m-p/35215#M6384</link>
      <description>&lt;P&gt;Folks,&lt;/P&gt;

&lt;P&gt;I wrote perl script to run search on remote splunk server. By default the search only returns first 100 events. How can I increase the limit without changing configuration on the server?  &lt;/P&gt;

&lt;P&gt;Is tried to use max_count but it does not have any effect:  &lt;/P&gt;

&lt;P&gt;my $response = $browser-&amp;gt;post( $url, [ 'search' =&amp;gt; $searchQuery, 'max_count' =&amp;gt; 10000 ])  &lt;/P&gt;

&lt;P&gt;Thanks.  &lt;/P&gt;</description>
      <pubDate>Sat, 29 Jan 2011 00:10:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Increasing-number-of-events-returned-in-REST-api-in-perl-script/m-p/35215#M6384</guid>
      <dc:creator>shahhe</dc:creator>
      <dc:date>2011-01-29T00:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing number of events returned in REST api in perl script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Increasing-number-of-events-returned-in-REST-api-in-perl-script/m-p/35216#M6385</link>
      <description>&lt;P&gt;If I use outputcsv in searhcQuery then it return all rows (more than 10000). It seems that splunk ignores the max_count value.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jan 2011 02:15:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Increasing-number-of-events-returned-in-REST-api-in-perl-script/m-p/35216#M6385</guid>
      <dc:creator>shahhe</dc:creator>
      <dc:date>2011-01-29T02:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing number of events returned in REST api in perl script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Increasing-number-of-events-returned-in-REST-api-in-perl-script/m-p/35217#M6386</link>
      <description>&lt;P&gt;What URL are you posting to? By default only 100 results are returned unless you specify "count" as a parameter in the URL, like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$url = "https://${splunkserver}:8089/services/search/jobs/${yourjobid}/results?count=0"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 29 Jan 2011 04:29:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Increasing-number-of-events-returned-in-REST-api-in-perl-script/m-p/35217#M6386</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-01-29T04:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing number of events returned in REST api in perl script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Increasing-number-of-events-returned-in-REST-api-in-perl-script/m-p/35218#M6387</link>
      <description>&lt;P&gt;Thank you. That fixed the problem.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jan 2011 05:06:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Increasing-number-of-events-returned-in-REST-api-in-perl-script/m-p/35218#M6387</guid>
      <dc:creator>shahhe</dc:creator>
      <dc:date>2011-01-29T05:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing number of events returned in REST api in perl script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Increasing-number-of-events-returned-in-REST-api-in-perl-script/m-p/35219#M6388</link>
      <description>&lt;P&gt;Great! Could you please mark the question as answered as it will pop up as unanswered on the site otherwise. Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jan 2011 05:26:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Increasing-number-of-events-returned-in-REST-api-in-perl-script/m-p/35219#M6388</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-01-29T05:26:46Z</dc:date>
    </item>
  </channel>
</rss>

