<?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 Shell script via button click in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Shell-script-via-button-click/m-p/297822#M18909</link>
    <description>&lt;P&gt;Is it possible to call a shell script from dashboard button click. &lt;/P&gt;</description>
    <pubDate>Mon, 08 Jan 2018 17:43:20 GMT</pubDate>
    <dc:creator>splunkn</dc:creator>
    <dc:date>2018-01-08T17:43:20Z</dc:date>
    <item>
      <title>Shell script via button click</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Shell-script-via-button-click/m-p/297822#M18909</link>
      <description>&lt;P&gt;Is it possible to call a shell script from dashboard button click. &lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2018 17:43:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Shell-script-via-button-click/m-p/297822#M18909</guid>
      <dc:creator>splunkn</dc:creator>
      <dc:date>2018-01-08T17:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Shell script via button click</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Shell-script-via-button-click/m-p/297823#M18910</link>
      <description>&lt;P&gt;Hi, you need to put the script in bin directory of your app and via javascript get the clicked event and run a splunk search like&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| your_script.sh
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Maybe you need to cenvert your dashboard in html dashboard.&lt;/P&gt;

&lt;P&gt;Have a look also here&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Search/Writeasearchcommand"&gt;https://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Search/Writeasearchcommand&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jan 2018 16:46:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Shell-script-via-button-click/m-p/297823#M18910</guid>
      <dc:creator>maurelio79</dc:creator>
      <dc:date>2018-01-21T16:46:02Z</dc:date>
    </item>
  </channel>
</rss>

