<?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 can move the knowledge object in Splunk by using Splunk SDK (Python) in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-can-move-the-knowledge-object-in-Splunk-by-using-Splunk-SDK/m-p/690951#M11538</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/265348"&gt;@tatdat171&lt;/a&gt;&amp;nbsp;Check out this script by&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163905"&gt;@harsmarvania57&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/harsmarvania57/splunk-ko-change" target="_blank"&gt;https://github.com/harsmarvania57/splunk-ko-change&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jun 2024 06:05:36 GMT</pubDate>
    <dc:creator>KendallW</dc:creator>
    <dc:date>2024-06-18T06:05:36Z</dc:date>
    <item>
      <title>How can move the knowledge object in Splunk by using Splunk SDK (Python)</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-can-move-the-knowledge-object-in-Splunk-by-using-Splunk-SDK/m-p/690949#M11537</link>
      <description>&lt;P&gt;Hi everyone, I am writing the Python script to move the knowledge object to another app.&lt;/P&gt;&lt;P&gt;For example, with the Lookup file:&lt;BR /&gt;I can do it with the REST API endpoint&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;servicesNS/&amp;lt;user&amp;gt;/&amp;lt;app_name&amp;gt;/data/lookup-table-files/&amp;lt;lookup_file_name/move&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I can't find the function to do that with the Splunk Python SDK.&lt;/P&gt;&lt;P&gt;&lt;A title="Splunk SDK python" href="https://docs.splunk.com/DocumentationStatic/PythonSDK/1.7.4/client.html#splunklib.client.Configurations" target="_blank" rel="noopener"&gt;https://docs.splunk.com/DocumentationStatic/PythonSDK/1.7.4/client.html#splunklib.client.Configurations&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;If you have experience with Splunk SDK, please share it with me. Thank!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 05:52:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-can-move-the-knowledge-object-in-Splunk-by-using-Splunk-SDK/m-p/690949#M11537</guid>
      <dc:creator>tatdat171</dc:creator>
      <dc:date>2024-06-18T05:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can move the knowledge object in Splunk by using Splunk SDK (Python)</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-can-move-the-knowledge-object-in-Splunk-by-using-Splunk-SDK/m-p/690951#M11538</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/265348"&gt;@tatdat171&lt;/a&gt;&amp;nbsp;Check out this script by&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163905"&gt;@harsmarvania57&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/harsmarvania57/splunk-ko-change" target="_blank"&gt;https://github.com/harsmarvania57/splunk-ko-change&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 06:05:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-can-move-the-knowledge-object-in-Splunk-by-using-Splunk-SDK/m-p/690951#M11538</guid>
      <dc:creator>KendallW</dc:creator>
      <dc:date>2024-06-18T06:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: How can move the knowledge object in Splunk by using Splunk SDK (Python)</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-can-move-the-knowledge-object-in-Splunk-by-using-Splunk-SDK/m-p/690952#M11539</link>
      <description>&lt;P&gt;Thank&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/121137"&gt;@KendallW&lt;/a&gt;&amp;nbsp;, that is good reference to CRUD with KOs in the Splunk but the script is out of date, some function did not work anymore.&amp;nbsp; And he used REST API instead of SDK.&amp;nbsp;&lt;BR /&gt;I am asking about the Splunk SDK.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 06:08:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-can-move-the-knowledge-object-in-Splunk-by-using-Splunk-SDK/m-p/690952#M11539</guid>
      <dc:creator>tatdat171</dc:creator>
      <dc:date>2024-06-18T06:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can move the knowledge object in Splunk by using Splunk SDK (Python)</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-can-move-the-knowledge-object-in-Splunk-by-using-Splunk-SDK/m-p/690967#M11540</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/265348"&gt;@tatdat171&lt;/a&gt;&amp;nbsp;Script which I have created is not out of date. It still works for On-prem and SplunkCloud. I would like to know which functions didn't work for you. Thanks, Harshil&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 08:02:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-can-move-the-knowledge-object-in-Splunk-by-using-Splunk-SDK/m-p/690967#M11540</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2024-06-18T08:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: How can move the knowledge object in Splunk by using Splunk SDK (Python)</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-can-move-the-knowledge-object-in-Splunk-by-using-Splunk-SDK/m-p/690969#M11541</link>
      <description>&lt;P&gt;&lt;EM&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163905"&gt;@harsmarvania57&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;I am very appreciate what you did with the script!&lt;BR /&gt;&lt;/EM&gt;In your script, you are using the python package "&lt;STRONG&gt;splunk&lt;/STRONG&gt;"&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;from splunk import mergeHostPath
import splunk.rest as rest
import splunk.auth as auth
import splunk.entity as entity&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;But I can't find the package with pip install. could you give the correct name of package?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 08:11:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-can-move-the-knowledge-object-in-Splunk-by-using-Splunk-SDK/m-p/690969#M11541</guid>
      <dc:creator>tatdat171</dc:creator>
      <dc:date>2024-06-18T08:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can move the knowledge object in Splunk by using Splunk SDK (Python)</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-can-move-the-knowledge-object-in-Splunk-by-using-Splunk-SDK/m-p/690975#M11542</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/265348"&gt;@tatdat171&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am using python modules which are shipped with Splunk Enterprise so to use my script you need Splunk Enterprise as well (you don't need to start/run Splunk Enterprise locally).&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 09:32:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-can-move-the-knowledge-object-in-Splunk-by-using-Splunk-SDK/m-p/690975#M11542</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2024-06-18T09:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can move the knowledge object in Splunk by using Splunk SDK (Python)</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-can-move-the-knowledge-object-in-Splunk-by-using-Splunk-SDK/m-p/691112#M11548</link>
      <description>&lt;P&gt;Thank&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163905"&gt;@harsmarvania57&lt;/a&gt;, my bad. It worked as well.&lt;/P&gt;&lt;P&gt;I want to write another script that used Splunk SDK, which does not depend on Splunk lib, or must run the script in Splunk server.&amp;nbsp;&lt;BR /&gt;Any way, I nearly finished with my the script by using SDK.&amp;nbsp;&lt;BR /&gt;Thank for your help and your script helped me a lot!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 15:47:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-can-move-the-knowledge-object-in-Splunk-by-using-Splunk-SDK/m-p/691112#M11548</guid>
      <dc:creator>tatdat171</dc:creator>
      <dc:date>2024-06-19T15:47:33Z</dc:date>
    </item>
  </channel>
</rss>

