<?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: How to run Splunk using python 3.7 in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-run-Splunk-using-python-3-7/m-p/494627#M8501</link>
    <description>&lt;P&gt;kamlesh_vaghela, I need to know one thing. to use the modular input I have to integrate the &lt;A href="https://docs.splunk.com/DocumentationStatic/PythonSDK/1.6.11/modularinput.html#splunklib.modularinput.Script"&gt;Splunklib sdk&lt;/A&gt; in my TA directory. How can I remove it and on runtime Splunk will resolve the &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;from splunklib.modularinput import *
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 29 Nov 2019 05:11:24 GMT</pubDate>
    <dc:creator>pbankar</dc:creator>
    <dc:date>2019-11-29T05:11:24Z</dc:date>
    <item>
      <title>How to run Splunk using python 3.7</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-run-Splunk-using-python-3-7/m-p/494624#M8498</link>
      <description>&lt;P&gt;I'm developing a Technology AddOn (TA) using Modular Input and as per the latest Splunk norms they will be deprecating python 2.7. I'm using Splunk 8.&lt;/P&gt;

&lt;P&gt;I'm making changes in the TA as per the &lt;STRONG&gt;Splunk Platform Upgrade Readiness App&lt;/STRONG&gt; and need to know how do I test my TA if its running using python 3.7 or not.&lt;/P&gt;

&lt;P&gt;On the command line, I'm getting this output:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8014iA62873CB7A32FC74/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2019 06:59:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-run-Splunk-using-python-3-7/m-p/494624#M8498</guid>
      <dc:creator>pbankar</dc:creator>
      <dc:date>2019-11-28T06:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Splunk using python 3.7</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-run-Splunk-using-python-3-7/m-p/494625#M8499</link>
      <description>&lt;P&gt;@pbankar &lt;/P&gt;

&lt;P&gt;When you upgrade to version 8.0, Splunk Enterprise will continue to use the Python 2 interpreter globally by default, but Splunk Web will support only Python 3.7. &lt;/P&gt;

&lt;P&gt;You can change python version by configuring &lt;CODE&gt;server.conf&lt;/CODE&gt; .&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Splunk Enterprise version 8.0 include a global setting, python.version, to specify which Python interpreter to use across an instance. The global setting resides in the server.conf file, located in $SPLUNK_HOME/etc/system/local/. The stanza that controls Python version is [general]

python.version is set to python2 by default in Splunk Enterprise version 8.0. To specify Python 3, set python.version = python3. These settings specify the interpreter to use if a script-level setting has not been specified, but script-level settings take precedence over the global setting, except if Python 3 is forced. 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Check &lt;STRONG&gt;Python interpreter settings&lt;/STRONG&gt; in below links.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.0/Python3Migration/ChangesEnterprise"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.0/Python3Migration/ChangesEnterprise&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Other Reference Link:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.0/Installation/AboutupgradingREADTHISFIRST"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.0/Installation/AboutupgradingREADTHISFIRST&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.0/Python3Migration/AboutMigration"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.0/Python3Migration/AboutMigration&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Python development with Splunk Enterprise:&lt;/STRONG&gt;  &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.0/Python3Migration/PythonDevelopment"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.0/Python3Migration/PythonDevelopment&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2019 14:33:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-run-Splunk-using-python-3-7/m-p/494625#M8499</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2019-11-28T14:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Splunk using python 3.7</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-run-Splunk-using-python-3-7/m-p/494626#M8500</link>
      <description>&lt;P&gt;Thanks, kamlesh_vaghela&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 04:54:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-run-Splunk-using-python-3-7/m-p/494626#M8500</guid>
      <dc:creator>pbankar</dc:creator>
      <dc:date>2019-11-29T04:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Splunk using python 3.7</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-run-Splunk-using-python-3-7/m-p/494627#M8501</link>
      <description>&lt;P&gt;kamlesh_vaghela, I need to know one thing. to use the modular input I have to integrate the &lt;A href="https://docs.splunk.com/DocumentationStatic/PythonSDK/1.6.11/modularinput.html#splunklib.modularinput.Script"&gt;Splunklib sdk&lt;/A&gt; in my TA directory. How can I remove it and on runtime Splunk will resolve the &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;from splunklib.modularinput import *
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Nov 2019 05:11:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-to-run-Splunk-using-python-3-7/m-p/494627#M8501</guid>
      <dc:creator>pbankar</dc:creator>
      <dc:date>2019-11-29T05:11:24Z</dc:date>
    </item>
  </channel>
</rss>

