<?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 How to create a dashboard button that triggers a shell/python script with input? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-dashboard-button-that-triggers-a-shell-python/m-p/397350#M25982</link>
    <description>&lt;P&gt;Hey Guys&lt;/P&gt;

&lt;P&gt;So I want to be able to create a button that has an input in it. I'm wondering if this is possible?&lt;/P&gt;

&lt;P&gt;The idea is that you input an IP address and then it would go and tell your IPS/Firewall to block from this dashboard.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jun 2019 13:58:52 GMT</pubDate>
    <dc:creator>ineedafleeb</dc:creator>
    <dc:date>2019-06-03T13:58:52Z</dc:date>
    <item>
      <title>How to create a dashboard button that triggers a shell/python script with input?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-dashboard-button-that-triggers-a-shell-python/m-p/397350#M25982</link>
      <description>&lt;P&gt;Hey Guys&lt;/P&gt;

&lt;P&gt;So I want to be able to create a button that has an input in it. I'm wondering if this is possible?&lt;/P&gt;

&lt;P&gt;The idea is that you input an IP address and then it would go and tell your IPS/Firewall to block from this dashboard.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 13:58:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-dashboard-button-that-triggers-a-shell-python/m-p/397350#M25982</guid>
      <dc:creator>ineedafleeb</dc:creator>
      <dc:date>2019-06-03T13:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard button that triggers a shell/python script with input?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-dashboard-button-that-triggers-a-shell-python/m-p/397351#M25983</link>
      <description>&lt;P&gt;Hi @ineedafleeb,&lt;/P&gt;

&lt;P&gt;It is possible ! And quite simple if you can code a bit. All you have to do is build an advanced command, you can learn more about this here : &lt;BR /&gt;
&lt;A href="http://dev.splunk.com/view/python-sdk/SP-CAAAEU2"&gt;http://dev.splunk.com/view/python-sdk/SP-CAAAEU2&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Instead of building a command that will run on the search results just build one that takes an IP as an input and then send it off to your IPS/Firewall to have the protocol, port  or IP blocked.&lt;/P&gt;

&lt;P&gt;Feel free to share your code once you're done if you need help reviewing or improving it.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
David&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 14:57:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-dashboard-button-that-triggers-a-shell-python/m-p/397351#M25983</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-06-03T14:57:10Z</dc:date>
    </item>
  </channel>
</rss>

