<?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 How to use Python SDK with Splunk Free in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-Python-SDK-with-Splunk-Free/m-p/195987#M2629</link>
    <description>&lt;P&gt;I am using Splunk Free (no authentication). The examples that come bundled with Python SDK, say the info.py example, invokes the client.connect method.&lt;/P&gt;

&lt;P&gt;I have added the allowRemoteLogin = always setting in the server.conf file. How do I use the Python SDK to connect to this free Splunk instance?&lt;/P&gt;

&lt;P&gt;With blank username and password, I get AuthenticationError. Looks like I have to tell the SDK somehow that this is a free Splunk. How do I do that?&lt;/P&gt;</description>
    <pubDate>Tue, 26 Aug 2014 20:16:56 GMT</pubDate>
    <dc:creator>shikhanshu</dc:creator>
    <dc:date>2014-08-26T20:16:56Z</dc:date>
    <item>
      <title>How to use Python SDK with Splunk Free</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-Python-SDK-with-Splunk-Free/m-p/195987#M2629</link>
      <description>&lt;P&gt;I am using Splunk Free (no authentication). The examples that come bundled with Python SDK, say the info.py example, invokes the client.connect method.&lt;/P&gt;

&lt;P&gt;I have added the allowRemoteLogin = always setting in the server.conf file. How do I use the Python SDK to connect to this free Splunk instance?&lt;/P&gt;

&lt;P&gt;With blank username and password, I get AuthenticationError. Looks like I have to tell the SDK somehow that this is a free Splunk. How do I do that?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2014 20:16:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-Python-SDK-with-Splunk-Free/m-p/195987#M2629</guid>
      <dc:creator>shikhanshu</dc:creator>
      <dc:date>2014-08-26T20:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Python SDK with Splunk Free</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-Python-SDK-with-Splunk-Free/m-p/195988#M2630</link>
      <description>&lt;P&gt;I guess it must be the default username and password. Try &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;user: admin 
password: changeme
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Aug 2014 20:33:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-Python-SDK-with-Splunk-Free/m-p/195988#M2630</guid>
      <dc:creator>fromdev</dc:creator>
      <dc:date>2014-08-26T20:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Python SDK with Splunk Free</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-Python-SDK-with-Splunk-Free/m-p/195989#M2631</link>
      <description>&lt;P&gt;No. When we first install Splunk, it comes with a trial Enterprise license, where the default credentials are what you mention. I changed that to “admin:admin” which is immaterial anyway, because I then changed the license type to Free (not enterprise trial), thereby removing any credentials/authentication mechanism.&lt;/P&gt;

&lt;P&gt;When I visit the splunk web interface, I am sent straight to the home rather than a login page.&lt;/P&gt;

&lt;P&gt;I have ofcourse tried using admin:changeme, admin:admin . Neither worked.&lt;/P&gt;

&lt;P&gt;Something must be done differently in Splunk Free (pure Free license).&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2014 21:13:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-Python-SDK-with-Splunk-Free/m-p/195989#M2631</guid>
      <dc:creator>shikhanshu</dc:creator>
      <dc:date>2014-08-26T21:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Python SDK with Splunk Free</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-Python-SDK-with-Splunk-Free/m-p/195990#M2632</link>
      <description>&lt;P&gt;For the free version, I just supplied username="admin" to client.connect().&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk_service = client.connect(username="admin")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I can't reference anything for this because I found this through trial and error. Couldn't find anything useful in the Splunk Docs.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2015 14:26:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-Python-SDK-with-Splunk-Free/m-p/195990#M2632</guid>
      <dc:creator>theauxiliaryguy</dc:creator>
      <dc:date>2015-07-13T14:26:03Z</dc:date>
    </item>
  </channel>
</rss>

