<?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: curl error post after Splunk upgrade in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Webtools-Add-on-curl-error-post-after-Splunk-upgrade/m-p/640701#M78951</link>
    <description>&lt;P&gt;Hi can you provide curl example and error example?&lt;/P&gt;</description>
    <pubDate>Wed, 19 Apr 2023 21:12:58 GMT</pubDate>
    <dc:creator>burwell</dc:creator>
    <dc:date>2023-04-19T21:12:58Z</dc:date>
    <item>
      <title>Webtools Add-on curl error post after Splunk upgrade</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Webtools-Add-on-curl-error-post-after-Splunk-upgrade/m-p/640659#M78950</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Hi Guys... Post upgrade of Splunk to v9, we are noticing errors when invoking external endpoints using curl command. &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;We are receiving a 400 response from the external endpoints. No changes have been made at either of the places and the only change is upgrading Splunk version to v9. &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;We tried to re-create the issue on Postman and found that these errors occur when we do not pass wither the Content-Length and host in the header. How do we check if these details are being passed by curl. &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Anyone else faced similar issues ? Any suggestion on how to work around it ? &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;We are not seeing any SSL error. We are able to get a response fro with the endpoint if we are accessing services available using GET method. We are having issues only we use POST method&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;We are using Splunk v9, webtools 2.0.2.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Vik&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Apr 2023 19:06:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Webtools-Add-on-curl-error-post-after-Splunk-upgrade/m-p/640659#M78950</guid>
      <dc:creator>vik</dc:creator>
      <dc:date>2023-04-21T19:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: curl error post after Splunk upgrade</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Webtools-Add-on-curl-error-post-after-Splunk-upgrade/m-p/640701#M78951</link>
      <description>&lt;P&gt;Hi can you provide curl example and error example?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 21:12:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Webtools-Add-on-curl-error-post-after-Splunk-upgrade/m-p/640701#M78951</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2023-04-19T21:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: curl error post after Splunk upgrade</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Webtools-Add-on-curl-error-post-after-Splunk-upgrade/m-p/640702#M78952</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/155648"&gt;@burwell&lt;/a&gt;&amp;nbsp;&lt;SPAN&gt;Splunk query and error ar below is the error&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{"error":"400 Bad Request: The browser (or proxy) sent a request that this server could not understand."}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Query:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval bodyfield="{\"group\":\"".group_name."\",\"caller_id\":\"".caller_id."\"}"
| eval uriPut="https://endpoint/service" 
| eval header="{\"Content-Type\":\"application/json\",\"token\":\"mytoken\"}" 
| curl method=post urifield=uriPut headerfield=header datafield=bodyfield&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 21:35:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Webtools-Add-on-curl-error-post-after-Splunk-upgrade/m-p/640702#M78952</guid>
      <dc:creator>vik</dc:creator>
      <dc:date>2023-04-19T21:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: curl error post after Splunk upgrade</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Webtools-Add-on-curl-error-post-after-Splunk-upgrade/m-p/640743#M78953</link>
      <description>&lt;P&gt;If by "Query" you mean the SPL query you send via curl, it has to cause error because the last pipe begins with "curl", and "curl" is not a valid SPL command. (See &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/WhatsInThisManual#collapseDesktop6" target="_blank" rel="noopener"&gt;Search Commands&lt;/A&gt;.)&amp;nbsp;Not in 9.x. &amp;nbsp;Not in any prior versions.&lt;/P&gt;&lt;P&gt;Forget about curl. &amp;nbsp;If you enter the query into a search window, it will give an error. &amp;nbsp;Are you sure there was any success with the same query before upgrade?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 07:01:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Webtools-Add-on-curl-error-post-after-Splunk-upgrade/m-p/640743#M78953</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2023-04-20T07:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: curl error post after Splunk upgrade</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Webtools-Add-on-curl-error-post-after-Splunk-upgrade/m-p/640783#M78954</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You are probably using this SplunkBase app&amp;nbsp;&lt;A href="https://splunkbase.splunk.com/app/4172" target="_blank" rel="noopener"&gt;https://splunkbase.splunk.com/app/4172&amp;nbsp;?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It seems not to be supported by current splunk version without modifications.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;CURL command&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Public App&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Fail&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Details&lt;DIV class=""&gt;&lt;DIV class=""&gt;This app is not compatible with Python 3.&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Version&lt;DIV class=""&gt;&lt;DIV class=""&gt;1.0.0&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Application Path&lt;DIV class=""&gt;&lt;DIV class=""&gt;/Applications/Splunk/etc/apps/curl_command&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Required Action&lt;DIV class=""&gt;&lt;DIV class=""&gt;Do one of the following:&lt;BR /&gt;&lt;UL class=""&gt;&lt;LI&gt;Confirm on the app's Splunkbase listing if this alert should be dismissed for this app version.&lt;/LI&gt;&lt;LI&gt;Petition the developer to update the app.&lt;/LI&gt;&lt;LI&gt;Uninstall the app from the app listing page.&lt;/LI&gt;&lt;LI&gt;Take ownership of the app and override existing code (not recommended).&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Dismiss App&lt;A class="" href="https://splunkbase.splunk.com/app/4172/" target="_blank" rel="noopener noreferrer"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Go to App Page&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;Issue:&lt;DIV class=""&gt;&amp;nbsp;This app contains an outdated Python SDK. Update to the latest Python SDK.&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;Your options have listed above to get it working with splunk 9.x&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;r. Ismo&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Apr 2023 09:21:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Webtools-Add-on-curl-error-post-after-Splunk-upgrade/m-p/640783#M78954</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-04-20T09:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: curl error post after Splunk upgrade</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Webtools-Add-on-curl-error-post-after-Splunk-upgrade/m-p/640876#M78955</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/33901"&gt;@yuanliu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have installed webtools to out Splunk instance to use "curl" command. It was working before the upgrade.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the link to the app.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/4146" target="_blank"&gt;https://splunkbase.splunk.com/app/4146&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 17:24:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Webtools-Add-on-curl-error-post-after-Splunk-upgrade/m-p/640876#M78955</guid>
      <dc:creator>vik</dc:creator>
      <dc:date>2023-04-20T17:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: curl error post after Splunk upgrade</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Webtools-Add-on-curl-error-post-after-Splunk-upgrade/m-p/640885#M78956</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214410"&gt;@isoutamo&lt;/a&gt;&amp;nbsp;We are using webtools app on our Splunk instance. Incompatibility with python version seems interesting. Could this app also have a similar issue ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/4146" target="_blank"&gt;https://splunkbase.splunk.com/app/4146&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We are currently using v2.0.2 of webtools.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 17:54:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Webtools-Add-on-curl-error-post-after-Splunk-upgrade/m-p/640885#M78956</guid>
      <dc:creator>vik</dc:creator>
      <dc:date>2023-04-20T17:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: curl error post after Splunk upgrade</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Webtools-Add-on-curl-error-post-after-Splunk-upgrade/m-p/640903#M78957</link>
      <description>&lt;P&gt;Basically it is supported even version 2.0.2. Upgrade readiness app said that it has outdated SDK version. I propose that you update it to the latest version (check what it need for updating). That version should work correctly with Splunk 9.x.x (checked in 9.0.4.1)&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 19:01:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Webtools-Add-on-curl-error-post-after-Splunk-upgrade/m-p/640903#M78957</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-04-20T19:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: curl error post after Splunk upgrade</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Webtools-Add-on-curl-error-post-after-Splunk-upgrade/m-p/640925#M78958</link>
      <description>&lt;P&gt;That is not a curl query.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 23:14:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Webtools-Add-on-curl-error-post-after-Splunk-upgrade/m-p/640925#M78958</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2023-04-20T23:14:25Z</dc:date>
    </item>
  </channel>
</rss>

