<?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: Custom REST API endpoint with PersistentServerConnectionApplication in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Custom-REST-API-endpoint-with/m-p/679526#M11363</link>
    <description>&lt;P&gt;Here I am, over 3 years later, finding my own answer to help me out again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2024 21:35:48 GMT</pubDate>
    <dc:creator>livehybrid</dc:creator>
    <dc:date>2024-03-04T21:35:48Z</dc:date>
    <item>
      <title>Custom REST API endpoint with PersistentServerConnectionApplication</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Custom-REST-API-endpoint-with/m-p/509380#M9103</link>
      <description>&lt;P&gt;I'm currently using&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;PersistentServerConnectionApplication&lt;/STRONG&gt; to implement custom API endpoints inside Splunk. Any changes I make in code delays about 1 or 2 minutes to start working.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this the correct behavior or am I missing something?&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;If it is the correct behavior, is there any form to test the endpoint&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;immediately after save the code?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Also, I would like to know if &lt;STRONG&gt;BaseRestHandler&lt;/STRONG&gt; approach still works on Splunk newer versions (8.x), because I coudn't make this work (python can´t find splunk.rest.BaseRestHandler class).&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 19:39:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Custom-REST-API-endpoint-with/m-p/509380#M9103</guid>
      <dc:creator>douglasmsouza</dc:creator>
      <dc:date>2020-07-15T19:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Custom REST API endpoint with PersistentServerConnectionApplication</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Custom-REST-API-endpoint-with/m-p/509396#M9104</link>
      <description>&lt;P&gt;Ive recently been working with REST endpoints in this way, it took a bit of head scratching but the process stays running, and can be killed with something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sudo kill $(ps -aux | grep -i [\/]opt.*persistconn | awk '{print $2}')&lt;/LI-CODE&gt;&lt;P&gt;Then it will pick up your changes next time you query it.&lt;/P&gt;&lt;P&gt;I hope this helps&lt;/P&gt;&lt;P&gt;Will&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 20:30:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Custom-REST-API-endpoint-with/m-p/509396#M9104</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2020-07-15T20:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom REST API endpoint with PersistentServerConnectionApplication</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Custom-REST-API-endpoint-with/m-p/632586#M10952</link>
      <description>&lt;P&gt;What a joke to have to rely on this. Simply insane. Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 13:53:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Custom-REST-API-endpoint-with/m-p/632586#M10952</guid>
      <dc:creator>spunk_enthusias</dc:creator>
      <dc:date>2023-02-28T13:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Custom REST API endpoint with PersistentServerConnectionApplication</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Custom-REST-API-endpoint-with/m-p/679526#M11363</link>
      <description>&lt;P&gt;Here I am, over 3 years later, finding my own answer to help me out again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 21:35:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Custom-REST-API-endpoint-with/m-p/679526#M11363</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2024-03-04T21:35:48Z</dc:date>
    </item>
  </channel>
</rss>

