<?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: Can I call a Python script from a dashboard and output its result in a panel? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-call-a-Python-script-from-a-dashboard-and-output-its/m-p/398089#M26054</link>
    <description>&lt;P&gt;Creating an external lookup might work &lt;BR /&gt;
    &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.1/Knowledge/Configureexternallookups"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.1/Knowledge/Configureexternallookups&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2019 21:41:29 GMT</pubDate>
    <dc:creator>pruthvikrishnap</dc:creator>
    <dc:date>2019-04-03T21:41:29Z</dc:date>
    <item>
      <title>Can I call a Python script from a dashboard and output its result in a panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-call-a-Python-script-from-a-dashboard-and-output-its/m-p/398088#M26053</link>
      <description>&lt;P&gt;Is it possible to call a Python or Shell script from a search/dashboard and output its result in a dashboard panel?&lt;/P&gt;

&lt;P&gt;As an example, I'd like to run some whois script and show those information in my dashboard. Since this is just one of many other scripts I wanna try to run, I'd appreciate if you do not suggest to use any app or add-on from splunk base to do the whois search. &lt;/P&gt;

&lt;P&gt;The scripts would be located inside "/etc/apps/APP_NAME/bin/", following the documentation.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 18:06:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-call-a-Python-script-from-a-dashboard-and-output-its/m-p/398088#M26053</guid>
      <dc:creator>alonsocaio</dc:creator>
      <dc:date>2019-04-03T18:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can I call a Python script from a dashboard and output its result in a panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-call-a-Python-script-from-a-dashboard-and-output-its/m-p/398089#M26054</link>
      <description>&lt;P&gt;Creating an external lookup might work &lt;BR /&gt;
    &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.1/Knowledge/Configureexternallookups"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.1/Knowledge/Configureexternallookups&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 21:41:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-call-a-Python-script-from-a-dashboard-and-output-its/m-p/398089#M26054</guid>
      <dc:creator>pruthvikrishnap</dc:creator>
      <dc:date>2019-04-03T21:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can I call a Python script from a dashboard and output its result in a panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-call-a-Python-script-from-a-dashboard-and-output-its/m-p/398090#M26055</link>
      <description>&lt;P&gt;@alonsocaio &lt;/P&gt;

&lt;P&gt;You can call Splunk Custom Endpoint to execute a script in &lt;CODE&gt;bin&lt;/CODE&gt; folder.  &lt;/P&gt;

&lt;P&gt;1) create an endpoint &lt;BR /&gt;
2) create a javascript to call endpoint&lt;BR /&gt;
3)  include javascript in your the dashbaord, call rest endpoint and display response in the dashboard.&lt;/P&gt;

&lt;P&gt;Please check below links for implementation. &lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.hurricanelabs.com/splunk-tutorials/splunk-custom-endpoints-part-1-the-basics"&gt;https://www.hurricanelabs.com/splunk-tutorials/splunk-custom-endpoints-part-1-the-basics&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://www.hurricanelabs.com/splunk-tutorials/splunk-custom-endpoints-part-2-cleaning-the-data"&gt;https://www.hurricanelabs.com/splunk-tutorials/splunk-custom-endpoints-part-2-cleaning-the-data&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://www.hurricanelabs.com/splunk-tutorials/splunk-custom-endpoints-part-3-posting-the-data"&gt;https://www.hurricanelabs.com/splunk-tutorials/splunk-custom-endpoints-part-3-posting-the-data&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://www.hurricanelabs.com/splunk-tutorials/splunk-custom-endpoints-part-4-getting-the-data"&gt;https://www.hurricanelabs.com/splunk-tutorials/splunk-custom-endpoints-part-4-getting-the-data&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 09:38:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-call-a-Python-script-from-a-dashboard-and-output-its/m-p/398090#M26055</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2019-04-04T09:38:12Z</dc:date>
    </item>
  </channel>
</rss>

