<?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: Splunk custom script with python and pip library | Integrity check of installed files failed in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-custom-script-with-python-and-pip-library-Integrity-check/m-p/624166#M216997</link>
    <description>&lt;P&gt;You're getting the integrity check messages because you altered the files that came with Splunk.&amp;nbsp; The fix is to re-install Splunk so you have the original file set.&lt;/P&gt;&lt;P&gt;Avoid the problem by putting the HttpNtimAuth library (and any others you need that do not come with Splunk) in the lib directory of your custom app.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Dec 2022 17:38:09 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-12-13T17:38:09Z</dc:date>
    <item>
      <title>Splunk custom script with python and pip library | Integrity check of installed files failed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-custom-script-with-python-and-pip-library-Integrity-check/m-p/624148#M216992</link>
      <description>&lt;P&gt;Hello Splunkers,&lt;BR /&gt;&lt;BR /&gt;I recently created a custom alerts on my Search Head, and for this alert to run I needed to install a Pip library (here&amp;nbsp;HttpNtlmAuth).&lt;/P&gt;&lt;P&gt;I used this command :&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/opt/splunk/bin/python3.7 -m pip install &amp;lt;my_package&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Afterwards my script &amp;amp; alert just ran correctly but the health check "&lt;SPAN&gt;Integrity check of installed files" failed because of this install (Splunk is complaining that my python bin and lib have changed, some other are missing).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have read that I can install manually the Python package, but I would have the same integrity check problems right ?&lt;BR /&gt;&lt;BR /&gt;Thanks for your answers,&lt;BR /&gt;GaetanVP&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 15:03:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-custom-script-with-python-and-pip-library-Integrity-check/m-p/624148#M216992</guid>
      <dc:creator>GaetanVP</dc:creator>
      <dc:date>2022-12-13T15:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk custom script with python and pip library | Integrity check of installed files failed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-custom-script-with-python-and-pip-library-Integrity-check/m-p/624166#M216997</link>
      <description>&lt;P&gt;You're getting the integrity check messages because you altered the files that came with Splunk.&amp;nbsp; The fix is to re-install Splunk so you have the original file set.&lt;/P&gt;&lt;P&gt;Avoid the problem by putting the HttpNtimAuth library (and any others you need that do not come with Splunk) in the lib directory of your custom app.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 17:38:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-custom-script-with-python-and-pip-library-Integrity-check/m-p/624166#M216997</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-12-13T17:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk custom script with python and pip library | Integrity check of installed files failed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-custom-script-with-python-and-pip-library-Integrity-check/m-p/624231#M217030</link>
      <description>&lt;P&gt;Thanks for your answer&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;, I will try that !&lt;BR /&gt;About the re-install Splunk, I would definitely lose some configuration / files and so on... right ? No way to fixed the issue within s Splunk tool / cli ?&lt;/P&gt;&lt;P&gt;Thanks.&lt;BR /&gt;GaetanVP&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 12:23:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-custom-script-with-python-and-pip-library-Integrity-check/m-p/624231#M217030</guid>
      <dc:creator>GaetanVP</dc:creator>
      <dc:date>2022-12-14T12:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk custom script with python and pip library | Integrity check of installed files failed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-custom-script-with-python-and-pip-library-Integrity-check/m-p/624235#M217031</link>
      <description>&lt;P&gt;Just like one can upgrade Splunk without losing any configurations, one can re-install the same version without losing any configurations.&amp;nbsp; Backup $SPLUNK_HOME/etc to be safe.&lt;/P&gt;&lt;P&gt;You also can restore the individual files you overwrote by extracting them from the Splunk tarball.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 13:37:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-custom-script-with-python-and-pip-library-Integrity-check/m-p/624235#M217031</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-12-14T13:37:48Z</dc:date>
    </item>
  </channel>
</rss>

