<?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 get a custom search script to work in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/How-to-get-a-custom-search-script-to-work/m-p/32401#M7069</link>
    <description>&lt;P&gt;I will give you credit for your answer but the Splunk documentatio is not very clear an conflicts with comments in the applications files.  I think I will leave well enough alone for now.  This should not be this difficult.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Apr 2012 19:27:00 GMT</pubDate>
    <dc:creator>brettski</dc:creator>
    <dc:date>2012-04-20T19:27:00Z</dc:date>
    <item>
      <title>How to get a custom search script to work</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-get-a-custom-search-script-to-work/m-p/32397#M7065</link>
      <description>&lt;P&gt;I am trying to get a custom search script to work following the instructions on this page: &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3/SearchReference/Script" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/4.3/SearchReference/Script&lt;/A&gt; .&lt;/P&gt;

&lt;P&gt;The instructions say to put the file in, splunk_home/etc/searchscripts, which doesn't exist in my 4.2.2 installation.  I found splunk_home/etc/search/scripts, though that does work either.  I have also tried creating the folder.  Each time I restarted the service, just in case.  Will someone please supply the basics on what is needed to get the search script to work?&lt;/P&gt;

&lt;P&gt;I am trying to use this script: &lt;A href="https://github.com/JustinAzoff/splunk-scripts/blob/master/ua2os.py" target="_blank"&gt;https://github.com/JustinAzoff/splunk-scripts/blob/master/ua2os.py&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:42:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-get-a-custom-search-script-to-work/m-p/32397#M7065</guid>
      <dc:creator>brettski</dc:creator>
      <dc:date>2020-09-28T11:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a custom search script to work</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-get-a-custom-search-script-to-work/m-p/32398#M7066</link>
      <description>&lt;P&gt;I assume that python script is a custom search command. Look here in the documentation and this should get you on track.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/4.2.2/SearchReference/WriteaPythonsearchcommand"&gt;http://docs.splunk.com/Documentation/Splunk/4.2.2/SearchReference/WriteaPythonsearchcommand&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2012 18:13:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-get-a-custom-search-script-to-work/m-p/32398#M7066</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2012-04-20T18:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a custom search script to work</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-get-a-custom-search-script-to-work/m-p/32399#M7067</link>
      <description>&lt;P&gt;Strange, I just retried both links with no issues.  Yes, it is a custom search command.  Based on the link you supplied, I need to create an application to run the custom search command under? Or can the app be 'Search'?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2012 19:17:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-get-a-custom-search-script-to-work/m-p/32399#M7067</guid>
      <dc:creator>brettski</dc:creator>
      <dc:date>2012-04-20T19:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a custom search script to work</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-get-a-custom-search-script-to-work/m-p/32400#M7068</link>
      <description>&lt;P&gt;Yes, you can put it under the search app&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2012 19:19:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-get-a-custom-search-script-to-work/m-p/32400#M7068</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2012-04-20T19:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a custom search script to work</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-get-a-custom-search-script-to-work/m-p/32401#M7069</link>
      <description>&lt;P&gt;I will give you credit for your answer but the Splunk documentatio is not very clear an conflicts with comments in the applications files.  I think I will leave well enough alone for now.  This should not be this difficult.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2012 19:27:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-get-a-custom-search-script-to-work/m-p/32401#M7069</guid>
      <dc:creator>brettski</dc:creator>
      <dc:date>2012-04-20T19:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a custom search script to work</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-get-a-custom-search-script-to-work/m-p/32402#M7070</link>
      <description>&lt;P&gt;Once you go through it...just let me know &lt;A href="mailto:sdaniels@splunk.com"&gt;sdaniels@splunk.com&lt;/A&gt;.  I'll be happy to get the docs changed to make sure they are in sync.  Apologies for any confusion there.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2012 19:29:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-get-a-custom-search-script-to-work/m-p/32402#M7070</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2012-04-20T19:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a custom search script to work</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-get-a-custom-search-script-to-work/m-p/32403#M7071</link>
      <description>&lt;P&gt;brettski, did you get this script working? Im at a halt trying to figure how to get it to work. I've tried all links suggested in this post but Splunk is not recognizing this app.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2012 20:03:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-get-a-custom-search-script-to-work/m-p/32403#M7071</guid>
      <dc:creator>ten_yard_fight</dc:creator>
      <dc:date>2012-11-14T20:03:07Z</dc:date>
    </item>
  </channel>
</rss>

