<?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: How to launch an action from dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-launch-an-action-from-dashboard/m-p/427638#M28184</link>
    <description>&lt;P&gt;what is the problem you are trying to solve?&lt;BR /&gt;
seems like with your method every click / interaction with the dashboard should send results to summary index, is that what you are trying to achieve?&lt;/P&gt;</description>
    <pubDate>Fri, 26 Apr 2019 15:07:29 GMT</pubDate>
    <dc:creator>adonio</dc:creator>
    <dc:date>2019-04-26T15:07:29Z</dc:date>
    <item>
      <title>How to launch an action from dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-launch-an-action-from-dashboard/m-p/427637#M28183</link>
      <description>&lt;P&gt;My splunk contains an &lt;STRONG&gt;index_main&lt;/STRONG&gt; which collects events with next (simplified) format&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;id, status, description
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;A dashboard contains a dropdown, which loads via &lt;STRONG&gt;dedup status&lt;/STRONG&gt;, and a table which loads the events filtered by dropdown's selected value.&lt;BR /&gt;
The goal is, via dashboard, to copy the events from &lt;STRONG&gt;index_main&lt;/STRONG&gt; to other indexes based on dropdown's value - as  &lt;STRONG&gt;status&lt;/STRONG&gt; fields admits (Info, Error, Critical) values, then data should be copied to &lt;STRONG&gt;index_info&lt;/STRONG&gt;, &lt;STRONG&gt;index_error&lt;/STRONG&gt; and &lt;STRONG&gt;index_critical&lt;/STRONG&gt; indexes (indexes already exists) - I plan to use &lt;STRONG&gt;collect&lt;/STRONG&gt; but I see no solution how to launch the script.&lt;/P&gt;

&lt;P&gt;Any thoughts upon this kind of integration? Or I miss something?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 13:53:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-launch-an-action-from-dashboard/m-p/427637#M28183</guid>
      <dc:creator>dreadangel</dc:creator>
      <dc:date>2019-04-26T13:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch an action from dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-launch-an-action-from-dashboard/m-p/427638#M28184</link>
      <description>&lt;P&gt;what is the problem you are trying to solve?&lt;BR /&gt;
seems like with your method every click / interaction with the dashboard should send results to summary index, is that what you are trying to achieve?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 15:07:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-launch-an-action-from-dashboard/m-p/427638#M28184</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-04-26T15:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch an action from dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-launch-an-action-from-dashboard/m-p/427639#M28185</link>
      <description>&lt;P&gt;The &lt;CODE&gt;collect&lt;/CODE&gt; command is not part of a script, it is SPL, so it is trivial.  Just have a panel with something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="index_main" AND status=$dropdown_token$ | dedup status | addinfo | collect index=index_$dropdown_token$
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 27 Apr 2019 01:02:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-launch-an-action-from-dashboard/m-p/427639#M28185</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-04-27T01:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch an action from dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-launch-an-action-from-dashboard/m-p/427640#M28186</link>
      <description>&lt;P&gt;Actually, I found my answer here (&lt;A href="https://answers.splunk.com/answers/600664/dashboard-button-to-run-spl-on-click.html"&gt;https://answers.splunk.com/answers/600664/dashboard-button-to-run-spl-on-click.html&lt;/A&gt;). Thank you all for your assistance.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 07:14:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-launch-an-action-from-dashboard/m-p/427640#M28186</guid>
      <dc:creator>dreadangel</dc:creator>
      <dc:date>2019-04-30T07:14:15Z</dc:date>
    </item>
  </channel>
</rss>

