<?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: Connect to Python API through base url and .splunkrc in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Connect-to-Python-API-through-base-url-and-splunkrc/m-p/675510#M11334</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/171872"&gt;@splunkreal&lt;/a&gt;&amp;nbsp;- Did you got to resolve your issue?&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jan 2024 12:29:28 GMT</pubDate>
    <dc:creator>VatsalJagani</dc:creator>
    <dc:date>2024-01-26T12:29:28Z</dc:date>
    <item>
      <title>Connect to Python API through base url and .splunkrc</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Connect-to-Python-API-through-base-url-and-splunkrc/m-p/675022#M11330</link>
      <description>&lt;P&gt;We are using /api base url, is that correct for .splunkrc as it asks for host and in our environment we use url?&lt;/P&gt;
&lt;P&gt;thanks for your help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;.splunkrc

# Splunk host (default: localhost)

host=splunkurl/api

# Splunk admin port (default: 8089)

port=443

# Splunk username

username=

# Splunk password

password=

# Access scheme (default: https)

scheme=https

# Your version of Splunk (default: 6.3)

version=9.0.4&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 13:03:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Connect-to-Python-API-through-base-url-and-splunkrc/m-p/675022#M11330</guid>
      <dc:creator>splunkreal</dc:creator>
      <dc:date>2024-01-26T13:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to Python API through base url and .splunkrc</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Connect-to-Python-API-through-base-url-and-splunkrc/m-p/675035#M11331</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/171872"&gt;@splunkreal&lt;/a&gt;&amp;nbsp;- For the &lt;STRONG&gt;host&lt;/STRONG&gt; you need to just &lt;STRONG&gt;IP address &lt;/STRONG&gt;or &lt;STRONG&gt;hostname&lt;/STRONG&gt;. The &lt;STRONG&gt;port&lt;/STRONG&gt; should be a Splunk management port generally &lt;STRONG&gt;8089&lt;/STRONG&gt; and not the Splunk UI port.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!!!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 13:51:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Connect-to-Python-API-through-base-url-and-splunkrc/m-p/675035#M11331</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2024-01-22T13:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to Python API through base url and .splunkrc</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Connect-to-Python-API-through-base-url-and-splunkrc/m-p/675036#M11332</link>
      <description>&lt;P&gt;Hello, thanks so how would you connect from Python using base url? We have HA/FO servers in front of Splunk servers.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 14:01:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Connect-to-Python-API-through-base-url-and-splunkrc/m-p/675036#M11332</guid>
      <dc:creator>splunkreal</dc:creator>
      <dc:date>2024-01-22T14:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to Python API through base url and .splunkrc</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Connect-to-Python-API-through-base-url-and-splunkrc/m-p/675086#M11333</link>
      <description>&lt;P&gt;HA/FO shouldn't affect the URL for API for Splunk.&lt;/P&gt;
&lt;P data-unlink="true"&gt;Base URL should be constructed as &lt;STRONG&gt;https://&amp;lt;host/ip&amp;gt;:8089&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 17:02:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Connect-to-Python-API-through-base-url-and-splunkrc/m-p/675086#M11333</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2024-01-22T17:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to Python API through base url and .splunkrc</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Connect-to-Python-API-through-base-url-and-splunkrc/m-p/675510#M11334</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/171872"&gt;@splunkreal&lt;/a&gt;&amp;nbsp;- Did you got to resolve your issue?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 12:29:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Connect-to-Python-API-through-base-url-and-splunkrc/m-p/675510#M11334</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2024-01-26T12:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to Python API through base url and .splunkrc</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Connect-to-Python-API-through-base-url-and-splunkrc/m-p/675512#M11335</link>
      <description>&lt;P&gt;Theoretically, of course a reverse-proxy could affect a URI path of the request redirecting it into somewhere else on the backend but that would need to be explicitly configured.&lt;/P&gt;&lt;P&gt;Anyway see the &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/RESTUM/RESTusing" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/RESTUM/RESTusing&lt;/A&gt; document and see the remark about namespaces on &lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.3/RESTREF/RESTlist" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.1.3/RESTREF/RESTlist&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 12:47:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Connect-to-Python-API-through-base-url-and-splunkrc/m-p/675512#M11335</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-01-26T12:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to Python API through base url and .splunkrc</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Connect-to-Python-API-through-base-url-and-splunkrc/m-p/675515#M11337</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/93915"&gt;@VatsalJagani&lt;/a&gt;&amp;nbsp; no, we need to use base url api. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 13:19:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Connect-to-Python-API-through-base-url-and-splunkrc/m-p/675515#M11337</guid>
      <dc:creator>splunkreal</dc:creator>
      <dc:date>2024-01-26T13:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to Python API through base url and .splunkrc</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Connect-to-Python-API-through-base-url-and-splunkrc/m-p/675516#M11338</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp; we use base url api already for curl commands and would like to use in python.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 13:19:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Connect-to-Python-API-through-base-url-and-splunkrc/m-p/675516#M11338</guid>
      <dc:creator>splunkreal</dc:creator>
      <dc:date>2024-01-26T13:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to Python API through base url and .splunkrc</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Connect-to-Python-API-through-base-url-and-splunkrc/m-p/675518#M11339</link>
      <description>&lt;P&gt;Just set host and port and let the splunklib handle the rest.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 13:30:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Connect-to-Python-API-through-base-url-and-splunkrc/m-p/675518#M11339</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-01-26T13:30:06Z</dc:date>
    </item>
  </channel>
</rss>

