<?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: Unable to run curl command in Production which has vip enabled in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-run-curl-command-in-Production-which-has-vip-enabled/m-p/267555#M51243</link>
    <description>&lt;P&gt;What error do you see? What is "vip"? I think this is probably an issue with port and/or permission settings for security in the production environment. That probably doesn't have anything to do with Splunk.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Feb 2016 17:28:40 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2016-02-04T17:28:40Z</dc:date>
    <item>
      <title>Unable to run curl command in Production which has vip enabled</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-run-curl-command-in-Production-which-has-vip-enabled/m-p/267554#M51242</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am trying to run a saved search using curl command. This works fine in lower environment but does not work in Production (which has vip)&lt;BR /&gt;
Works fine in Lower&lt;BR /&gt;
curl -k -u username:Password  &lt;A href="https://localhost:9086/services/saved/searches/testkamal2/reschedule"&gt;https://localhost:9086/services/saved/searches/testkamal2/reschedule&lt;/A&gt; -X POST&lt;BR /&gt;
Tried all the below option in Prod&lt;BR /&gt;
curl -k -u username:Password  &lt;A href="http://localhost:9086/services/saved/searches/testkamal2/reschedule"&gt;http://localhost:9086/services/saved/searches/testkamal2/reschedule&lt;/A&gt; -X POST&lt;BR /&gt;
curl -k -u username:Password  &lt;A href="http://localhost:8080/services/saved/searches/testkamal2/reschedule"&gt;http://localhost:8080/services/saved/searches/testkamal2/reschedule&lt;/A&gt; -X POST&lt;BR /&gt;
curl -k -u username:Password  &lt;A href="http://myservername-vip.com:9086/services/saved/searches/testkamal2/reschedule"&gt;http://myservername-vip.com:9086/services/saved/searches/testkamal2/reschedule&lt;/A&gt; -X POST&lt;BR /&gt;
curl -k -u username:Password  &lt;A href="http://myservername.com:8080/services/saved/searches/testkamal2/reschedule"&gt;http://myservername.com:8080/services/saved/searches/testkamal2/reschedule&lt;/A&gt; -X POST&lt;BR /&gt;
curl -k -u username:Password  &lt;A href="http://10.20.30.400.:9086/services/saved/searches/testkamal2/reschedule"&gt;http://10.20.30.400.:9086/services/saved/searches/testkamal2/reschedule&lt;/A&gt; -X POST&lt;BR /&gt;
curl -k -u username:Password  &lt;A href="http://10.20.30.400.:8080/services/saved/searches/testkamal2/reschedule"&gt;http://10.20.30.400.:8080/services/saved/searches/testkamal2/reschedule&lt;/A&gt; -X POST&lt;BR /&gt;
curl -w username:Password -k &lt;A href="http://10.20.30.400:9086/services/saved/searches/testkamal/reschedule"&gt;http://10.20.30.400:9086/services/saved/searches/testkamal/reschedule&lt;/A&gt; -H -d schedule_time=2012-08-15T14:11:01Z&lt;/P&gt;

&lt;P&gt;Kindly advise.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 17:16:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-run-curl-command-in-Production-which-has-vip-enabled/m-p/267554#M51242</guid>
      <dc:creator>kamal_jagga</dc:creator>
      <dc:date>2016-02-04T17:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to run curl command in Production which has vip enabled</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-run-curl-command-in-Production-which-has-vip-enabled/m-p/267555#M51243</link>
      <description>&lt;P&gt;What error do you see? What is "vip"? I think this is probably an issue with port and/or permission settings for security in the production environment. That probably doesn't have anything to do with Splunk.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 17:28:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-run-curl-command-in-Production-which-has-vip-enabled/m-p/267555#M51243</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2016-02-04T17:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to run curl command in Production which has vip enabled</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-run-curl-command-in-Production-which-has-vip-enabled/m-p/267556#M51244</link>
      <description>&lt;P&gt;Error is &lt;BR /&gt;
HTTP 303 code &lt;BR /&gt;
"The resource has moved temporarily "&lt;/P&gt;

&lt;P&gt;VIP : used for masking the URL using irules.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 18:01:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-run-curl-command-in-Production-which-has-vip-enabled/m-p/267556#M51244</guid>
      <dc:creator>kamal_jagga</dc:creator>
      <dc:date>2016-02-04T18:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to run curl command in Production which has vip enabled</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-run-curl-command-in-Production-which-has-vip-enabled/m-p/267557#M51245</link>
      <description>&lt;P&gt;I assume you mean some sort of Layer 7 load balancer. You will need to get in touch with your network admins and confirm what port they are connecting to splunk and over what protocol. My guess is they are only connecting to port 8080 (the web ui port) and do not have any redirection in place for the management port. Make sure they load balance the management port for you as well. &lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 20:40:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-run-curl-command-in-Production-which-has-vip-enabled/m-p/267557#M51245</guid>
      <dc:creator>jplumsdaine22</dc:creator>
      <dc:date>2016-02-04T20:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to run curl command in Production which has vip enabled</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-run-curl-command-in-Production-which-has-vip-enabled/m-p/267558#M51246</link>
      <description>&lt;P&gt;Would you be able to give some more details about the following line.&lt;/P&gt;

&lt;P&gt;"Make sure they load balance the management port for you as well "&lt;/P&gt;

&lt;P&gt;Do we need to check whether the mgmt port (8089) is open on load balancer or somewhere else ?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 21:00:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-run-curl-command-in-Production-which-has-vip-enabled/m-p/267558#M51246</guid>
      <dc:creator>kamal_jagga</dc:creator>
      <dc:date>2016-02-04T21:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to run curl command in Production which has vip enabled</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-run-curl-command-in-Production-which-has-vip-enabled/m-p/267559#M51247</link>
      <description>&lt;P&gt;Currently you probably have a vip address &lt;A href="https://your-vip.com:8080"&gt;https://your-vip.com:8080&lt;/A&gt; that you use to connect to the splunk UI&lt;/P&gt;

&lt;P&gt;Your load balancer admins need to provide you with &lt;A href="https://your-vip.com:8089"&gt;https://your-vip.com:8089&lt;/A&gt;, that then connects to &lt;A href="https://your-splunk.com:8089"&gt;https://your-splunk.com:8089&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;(Although the port on your-vip.com can be anything as long as it maps to the correct management port on your splunk server)&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 21:32:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-run-curl-command-in-Production-which-has-vip-enabled/m-p/267559#M51247</guid>
      <dc:creator>jplumsdaine22</dc:creator>
      <dc:date>2016-02-04T21:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to run curl command in Production which has vip enabled</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-run-curl-command-in-Production-which-has-vip-enabled/m-p/267560#M51248</link>
      <description>&lt;P&gt;Thanks. &lt;BR /&gt;
i got the mgmt port and used that in the command. Updating the port to the management port fixed the issue.&lt;/P&gt;

&lt;P&gt;Thank you !!!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 22:23:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-run-curl-command-in-Production-which-has-vip-enabled/m-p/267560#M51248</guid>
      <dc:creator>kamal_jagga</dc:creator>
      <dc:date>2016-02-04T22:23:21Z</dc:date>
    </item>
  </channel>
</rss>

