<?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 Custom streaming search command app inspect dependency under bin folder warning in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Custom-streaming-search-command-app-inspect-dependency-under-bin/m-p/536397#M9650</link>
    <description>&lt;P&gt;We have a custom streaming search command written in python that works fine on a single instance, but ran into the following error in our cluster environment:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ImportError: No module named {a python python package we depend on}&lt;/LI-CODE&gt;&lt;P&gt;We narrowed down the cause to the same problem described in this post: &lt;A href="https://community.splunk.com/t5/Developing-for-Splunk-Enterprise/Custom-streaming-search-command-error/m-p/523794#M4556" target="_self"&gt;Custom streaming search command error&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We implemented the suggested fix of moving all of our dependencies to the &lt;STRONG&gt;/bin&lt;/STRONG&gt; directory so it would be available when our command is run across indexers. Everything now seems to work as expected in our cluster environment, however appinspect now gives us this warning:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;check_splunklib_dependency_under_bin_folder
WARNING: splunklib is found under bin folder, this may cause some dependency management errors with other apps, and it is not recommended. Please follow examples in Splunk documentation to include splunklib. You can find more details here: https://dev.splunk.com/view/SP-CAAAEU2 and https://dev.splunk.com/view/SP-CAAAER3&lt;/LI-CODE&gt;&lt;P&gt;Has anyone else run into something similar to the original problem I described? Are there any suggestions that would solve both the original problem and our new warning?&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jan 2021 21:42:49 GMT</pubDate>
    <dc:creator>wesleya</dc:creator>
    <dc:date>2021-01-19T21:42:49Z</dc:date>
    <item>
      <title>Custom streaming search command app inspect dependency under bin folder warning</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Custom-streaming-search-command-app-inspect-dependency-under-bin/m-p/536397#M9650</link>
      <description>&lt;P&gt;We have a custom streaming search command written in python that works fine on a single instance, but ran into the following error in our cluster environment:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ImportError: No module named {a python python package we depend on}&lt;/LI-CODE&gt;&lt;P&gt;We narrowed down the cause to the same problem described in this post: &lt;A href="https://community.splunk.com/t5/Developing-for-Splunk-Enterprise/Custom-streaming-search-command-error/m-p/523794#M4556" target="_self"&gt;Custom streaming search command error&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We implemented the suggested fix of moving all of our dependencies to the &lt;STRONG&gt;/bin&lt;/STRONG&gt; directory so it would be available when our command is run across indexers. Everything now seems to work as expected in our cluster environment, however appinspect now gives us this warning:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;check_splunklib_dependency_under_bin_folder
WARNING: splunklib is found under bin folder, this may cause some dependency management errors with other apps, and it is not recommended. Please follow examples in Splunk documentation to include splunklib. You can find more details here: https://dev.splunk.com/view/SP-CAAAEU2 and https://dev.splunk.com/view/SP-CAAAER3&lt;/LI-CODE&gt;&lt;P&gt;Has anyone else run into something similar to the original problem I described? Are there any suggestions that would solve both the original problem and our new warning?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 21:42:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Custom-streaming-search-command-app-inspect-dependency-under-bin/m-p/536397#M9650</guid>
      <dc:creator>wesleya</dc:creator>
      <dc:date>2021-01-19T21:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Custom streaming search command app inspect dependency under bin folder warning</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Custom-streaming-search-command-app-inspect-dependency-under-bin/m-p/536399#M9651</link>
      <description>&lt;P&gt;$SPLUNK_HOME/lib/python3.7/site-packages&lt;/P&gt;&lt;P&gt;splunklib&amp;nbsp;is usually here.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 21:49:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Custom-streaming-search-command-app-inspect-dependency-under-bin/m-p/536399#M9651</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2021-01-19T21:49:32Z</dc:date>
    </item>
  </channel>
</rss>

