<?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: Powershell Resource kit  Search has Max 100 results in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22378#M3428</link>
    <description>&lt;P&gt;It seems the powershell parameter maxreturncount creates the header addition "max_count=" when it should simply add "count="&lt;/P&gt;</description>
    <pubDate>Tue, 11 Dec 2012 17:08:05 GMT</pubDate>
    <dc:creator>cohatch</dc:creator>
    <dc:date>2012-12-11T17:08:05Z</dc:date>
    <item>
      <title>Powershell Resource kit  Search has Max 100 results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22374#M3424</link>
      <description>&lt;P&gt;I have been playing around with the powershell resource kit, trying to use it as a searching interface to use with automation. I am trying to get results in exess of 100 events. Even with the use of the -MaxReturnCount option, it only returns up to 100 (allows to decrease from 100, but not increase above). I have found several other posts on modifying this but not in the powershell resource kit. &lt;/P&gt;

&lt;P&gt;As I look at the splunk-core .psm1 file i can see where we could edit the $PostString variable, but thought I should report this as a possible bug.&lt;/P&gt;

&lt;P&gt;Example script:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$credential = Get-Credential
Connect-Splunk -Credential $credential –ComputerName Computername
$connection = Get-SplunkConnectionObject
$search = $Connection | Search-Splunk -Search 'source="PS_VMHost_Config" earliest=-10d@d latest=now'-MaxTime 30 -MaxReturnCount 30 -Verbose
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any assistance would be great!&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2012 19:56:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22374#M3424</guid>
      <dc:creator>jkcouch</dc:creator>
      <dc:date>2012-07-31T19:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Resource kit  Search has Max 100 results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22375#M3425</link>
      <description>&lt;P&gt;Thanks jkcouch. I will get this fixed. I thought we added an override for this but I believe you are you correct.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2012 20:22:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22375#M3425</guid>
      <dc:creator>bsonposh</dc:creator>
      <dc:date>2012-07-31T20:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Resource kit  Search has Max 100 results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22376#M3426</link>
      <description>&lt;P&gt;Thanks Brandon!&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2012 20:24:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22376#M3426</guid>
      <dc:creator>jkcouch</dc:creator>
      <dc:date>2012-07-31T20:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Resource kit  Search has Max 100 results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22377#M3427</link>
      <description>&lt;P&gt;Any update on this?  Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2012 14:17:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22377#M3427</guid>
      <dc:creator>cohatch</dc:creator>
      <dc:date>2012-12-11T14:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Resource kit  Search has Max 100 results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22378#M3428</link>
      <description>&lt;P&gt;It seems the powershell parameter maxreturncount creates the header addition "max_count=" when it should simply add "count="&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2012 17:08:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22378#M3428</guid>
      <dc:creator>cohatch</dc:creator>
      <dc:date>2012-12-11T17:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Resource kit  Search has Max 100 results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22379#M3429</link>
      <description>&lt;P&gt;cohatch - that fixed it for me too. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2013 15:49:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22379#M3429</guid>
      <dc:creator>jkcouch</dc:creator>
      <dc:date>2013-01-03T15:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Resource kit  Search has Max 100 results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22380#M3430</link>
      <description>&lt;P&gt;@cohatch, why don't you type this up as an Answer so that others can vote on it. I assume that you are talking about changing splunk-search.psm1, line 93 from "max_count" to "count", correct? Write that up as an answer, confirm that you've tested it, and I'll commit it to Github. TIA&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2013 15:57:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22380#M3430</guid>
      <dc:creator>halr9000</dc:creator>
      <dc:date>2013-01-03T15:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Resource kit  Search has Max 100 results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22381#M3431</link>
      <description>&lt;P&gt;Switcharooed to an answer&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2013 16:02:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22381#M3431</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2013-01-03T16:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Resource kit  Search has Max 100 results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22382#M3432</link>
      <description>&lt;P&gt;TY Drainy &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2013 16:05:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22382#M3432</guid>
      <dc:creator>halr9000</dc:creator>
      <dc:date>2013-01-03T16:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Resource kit  Search has Max 100 results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22383#M3433</link>
      <description>&lt;P&gt;Fix committed. Test please! &lt;A href="https://github.com/splunk/splunk-reskit-powershell/archive/master.zip"&gt;https://github.com/splunk/splunk-reskit-powershell/archive/master.zip&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2013 16:07:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Powershell-Resource-kit-Search-has-Max-100-results/m-p/22383#M3433</guid>
      <dc:creator>halr9000</dc:creator>
      <dc:date>2013-01-03T16:07:16Z</dc:date>
    </item>
  </channel>
</rss>

