<?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: Splunk API Time out - Powershell script in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-API-Time-out-Powershell-script/m-p/452198#M78370</link>
    <description>&lt;P&gt;Any other thoughts/ideas?&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2019 17:16:51 GMT</pubDate>
    <dc:creator>pmccomb001</dc:creator>
    <dc:date>2019-06-26T17:16:51Z</dc:date>
    <item>
      <title>Splunk API Time out - Powershell script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-API-Time-out-Powershell-script/m-p/452193#M78365</link>
      <description>&lt;P&gt;I've made a script in PowerShell which utilizes the REST API input that I have. This script is for downloading extremely large amounts of data from Splunk.&lt;/P&gt;

&lt;P&gt;The problem that I am having is that Invoke-WebRequest is timing out and I cannot get the query to complete. The query stays connected for ~5minutes and times out.&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 19:03:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-API-Time-out-Powershell-script/m-p/452193#M78365</guid>
      <dc:creator>pmccomb001</dc:creator>
      <dc:date>2019-05-09T19:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk API Time out - Powershell script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-API-Time-out-Powershell-script/m-p/452194#M78366</link>
      <description>&lt;P&gt;@pmccomb001 Set this in your powershell profile, or run beforehand:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[System.Net.ServicePointManager]::MaxServicePointIdleTime = 5000000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then when you run Invoke-WebRequest make sure you have the TimeoutSec parameter set to zero:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Invoke-WebRequest therestofyourcommand -TimeoutSec 0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 May 2019 19:59:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-API-Time-out-Powershell-script/m-p/452194#M78366</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2019-05-09T19:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk API Time out - Powershell script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-API-Time-out-Powershell-script/m-p/452195#M78367</link>
      <description>&lt;P&gt;Thanks for a response but this is still not working.  Folks have the same results in this thread:&lt;BR /&gt;
&lt;A href="https://stackoverflow.com/questions/34136088/invoke-webrequest-set-time-out"&gt;https://stackoverflow.com/questions/34136088/invoke-webrequest-set-time-out&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Any other thoughts?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 16:44:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-API-Time-out-Powershell-script/m-p/452195#M78367</guid>
      <dc:creator>pmccomb001</dc:creator>
      <dc:date>2019-06-26T16:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk API Time out - Powershell script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-API-Time-out-Powershell-script/m-p/452196#M78368</link>
      <description>&lt;P&gt;Thanks for the response but the solution is not working.  Folks had the same results in this thread:&lt;BR /&gt;
&lt;A href="https://stackoverflow.com/questions/34136088/invoke-webrequest-set-time-out"&gt;https://stackoverflow.com/questions/34136088/invoke-webrequest-set-time-out&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 16:44:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-API-Time-out-Powershell-script/m-p/452196#M78368</guid>
      <dc:creator>pmccomb001</dc:creator>
      <dc:date>2019-06-26T16:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk API Time out - Powershell script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-API-Time-out-Powershell-script/m-p/452197#M78369</link>
      <description>&lt;P&gt;Thanks for the response but this is still not working.  Folks had the same issue in this thread:&lt;BR /&gt;
&lt;A href="https://stackoverflow.com/questions/34136088/invoke-webrequest-set-time-out"&gt;https://stackoverflow.com/questions/34136088/invoke-webrequest-set-time-out&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 16:45:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-API-Time-out-Powershell-script/m-p/452197#M78369</guid>
      <dc:creator>pmccomb001</dc:creator>
      <dc:date>2019-06-26T16:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk API Time out - Powershell script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-API-Time-out-Powershell-script/m-p/452198#M78370</link>
      <description>&lt;P&gt;Any other thoughts/ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 17:16:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-API-Time-out-Powershell-script/m-p/452198#M78370</guid>
      <dc:creator>pmccomb001</dc:creator>
      <dc:date>2019-06-26T17:16:51Z</dc:date>
    </item>
  </channel>
</rss>

