<?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: Is it possible to have a custom REST endpoint that executes scripts on a universal forwarder? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-have-a-custom-REST-endpoint-that-executes/m-p/264355#M50741</link>
    <description>&lt;P&gt;Not going that route seems like the right approach. There is usually a good reason that certain scenarios are not covered in the security guide &lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.0/Security/Hardeningstandards"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.0/Security/Hardeningstandards&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 13 Nov 2016 14:36:20 GMT</pubDate>
    <dc:creator>m_zimmermann</dc:creator>
    <dc:date>2016-11-13T14:36:20Z</dc:date>
    <item>
      <title>Is it possible to have a custom REST endpoint that executes scripts on a universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-have-a-custom-REST-endpoint-that-executes/m-p/264350#M50736</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Is it possible to have a custom REST endpoint that executes scripts on a universal forwarder? &lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 14:40:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-have-a-custom-REST-endpoint-that-executes/m-p/264350#M50736</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2016-05-25T14:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to have a custom REST endpoint that executes scripts on a universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-have-a-custom-REST-endpoint-that-executes/m-p/264351#M50737</link>
      <description>&lt;P&gt;I am wondering the same. Since the handling seems to be done by $SPLUNK_HOME/bin/rest_handler.py i think it will n ot work since there is no python on a universal forwarder.&lt;BR /&gt;
I have a script that i would like to expose as a custom rest endpoint but i get a 400/bad request as a reply.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:44:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-have-a-custom-REST-endpoint-that-executes/m-p/264351#M50737</guid>
      <dc:creator>dominiquevocat</dc:creator>
      <dc:date>2020-09-29T11:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to have a custom REST endpoint that executes scripts on a universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-have-a-custom-REST-endpoint-that-executes/m-p/264352#M50738</link>
      <description>&lt;P&gt;If there is any, I'd be very careful about exposing it. Properly securing that endpoint would be an interesting challenge.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 11:46:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-have-a-custom-REST-endpoint-that-executes/m-p/264352#M50738</guid>
      <dc:creator>m_zimmermann</dc:creator>
      <dc:date>2016-11-01T11:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to have a custom REST endpoint that executes scripts on a universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-have-a-custom-REST-endpoint-that-executes/m-p/264353#M50739</link>
      <description>&lt;P&gt;If you want to do this I would suggest using a HF and extend the Splunk Rest endpoints with restmap.conf. restmap.conf supports &lt;STRONG&gt;requireAuthentication&lt;/STRONG&gt; settings.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 16:31:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-have-a-custom-REST-endpoint-that-executes/m-p/264353#M50739</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2016-11-01T16:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to have a custom REST endpoint that executes scripts on a universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-have-a-custom-REST-endpoint-that-executes/m-p/264354#M50740</link>
      <description>&lt;P&gt;I agree with all three comments above.&lt;/P&gt;

&lt;P&gt;The answer is no you can't do it on a universal forwarder, you could do it on a heavy forwarder, and be careful that you do it with security in mind.  Bmacias84 gave some great info on settings you should consider if you do this with a heavy forwarder.&lt;/P&gt;

&lt;P&gt;What you could do is execute scripts via scripted inputs and deploy those via the deployment server.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Nov 2016 14:10:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-have-a-custom-REST-endpoint-that-executes/m-p/264354#M50740</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-11-13T14:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to have a custom REST endpoint that executes scripts on a universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-have-a-custom-REST-endpoint-that-executes/m-p/264355#M50741</link>
      <description>&lt;P&gt;Not going that route seems like the right approach. There is usually a good reason that certain scenarios are not covered in the security guide &lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.0/Security/Hardeningstandards"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.0/Security/Hardeningstandards&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Nov 2016 14:36:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-have-a-custom-REST-endpoint-that-executes/m-p/264355#M50741</guid>
      <dc:creator>m_zimmermann</dc:creator>
      <dc:date>2016-11-13T14:36:20Z</dc:date>
    </item>
  </channel>
</rss>

