<?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 add a form for user input on a dashboard to only run panel searches for data from certain hosts? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228352#M67494</link>
    <description>&lt;P&gt;thanks ! there is no input (form)  created I just got "-------------------------------&lt;BR /&gt;
----------------------------------------"  above time selector. and the dash-board itself say " waiting for input"&lt;/P&gt;</description>
    <pubDate>Mon, 29 Feb 2016 00:44:52 GMT</pubDate>
    <dc:creator>raindrop18</dc:creator>
    <dc:date>2016-02-29T00:44:52Z</dc:date>
    <item>
      <title>How to add a form for user input on a dashboard to only run panel searches for data from certain hosts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228346#M67488</link>
      <description>&lt;P&gt;I have a dashboard using multiple sources and I would like to replace the fixed host input ( &lt;CODE&gt;host=prdo*&lt;/CODE&gt;) with manual input by a user. This way, a user can add one or more host names and the dashboard will give all the statuses for that option. Is that possible?&lt;/P&gt;

&lt;P&gt;Panel =1&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=prod* source=prodLog host=pr*-* "timeout" OR "error" OR "timed-out" OR "exception" AND NOT "step*time" | timechart count as timeout span=1h
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Panel = 2&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=aws-production source=prodLog host=pr*-* "green" OR "blue" OR "red" AND NOT "white" | timechart count as Colorstatus span=1h
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Currently, the dashboard extracts data from all hosts. My objective is for users to be able to search from the host they are interested in. Also, this will be great if this input can be used/shared on all panels just like "time range selector".&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2016 22:21:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228346#M67488</guid>
      <dc:creator>raindrop18</dc:creator>
      <dc:date>2016-02-28T22:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a form for user input on a dashboard to only run panel searches for data from certain hosts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228347#M67489</link>
      <description>&lt;P&gt;hi,&lt;BR /&gt;
Yes it's possible,&lt;BR /&gt;
displays your code I try to help you&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2016 22:31:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228347#M67489</guid>
      <dc:creator>gyslainlatsa</dc:creator>
      <dc:date>2016-02-28T22:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a form for user input on a dashboard to only run panel searches for data from certain hosts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228348#M67490</link>
      <description>&lt;P&gt;thanks much! I have updated the question. so the dashboard has 10 panel but I have the code from the 2 panels.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2016 22:59:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228348#M67490</guid>
      <dc:creator>raindrop18</dc:creator>
      <dc:date>2016-02-28T22:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a form for user input on a dashboard to only run panel searches for data from certain hosts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228349#M67491</link>
      <description>&lt;P&gt;you want to add a box to allow the user to enter the name of the host it wants and select the timerange he wants?&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2016 23:15:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228349#M67491</guid>
      <dc:creator>gyslainlatsa</dc:creator>
      <dc:date>2016-02-28T23:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a form for user input on a dashboard to only run panel searches for data from certain hosts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228350#M67492</link>
      <description>&lt;P&gt;I have already time-range selector, I want the box enter the host name.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2016 23:31:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228350#M67492</guid>
      <dc:creator>raindrop18</dc:creator>
      <dc:date>2016-02-28T23:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a form for user input on a dashboard to only run panel searches for data from certain hosts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228351#M67493</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;

&lt;P&gt;try with this example&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;-------------------------------&amp;lt;/label&amp;gt;
  &amp;lt;description&amp;gt;----------------------------------------&amp;lt;/description&amp;gt;
  &amp;lt;fieldset autoRun="true" submitButton="false"&amp;gt;
    &amp;lt;input type="time" token="tm" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Select a time:&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;Last 24 hours&amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;

  &amp;lt;input type="text" token="host_name" searchWhenChanged="true"&amp;gt;
    &amp;lt;label&amp;gt;Enter a host:&amp;lt;/label&amp;gt;
    &amp;lt;default&amp;gt;pr*-*&amp;lt;/default&amp;gt;
  &amp;lt;/input&amp;gt;

&amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;chart&amp;gt;
      &amp;lt;title&amp;gt;Panel1&amp;lt;/title&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;index=prod* source=prodLog host=$host_name$ "timeout" OR "error" OR "timed-out" OR "exception" AND NOT "step*time"
       | timechart count as timeout span=1h&amp;lt;/query&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;earliestTime&amp;gt;$tm.earliestTime$&amp;lt;/earliestTime&amp;gt;
      &amp;lt;latestTime&amp;gt;$tm.latestTime$&amp;lt;/latestTime&amp;gt;
      &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
    &amp;lt;/chart&amp;gt;
    &amp;lt;table&amp;gt;
      &amp;lt;title&amp;gt;Panel2&amp;lt;/title&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;index=aws-production source=prodLog host=$host_name$" green" OR "blue" OR "red" AND NOT "white" 
         | timechart count as Colorstatus span=1h&amp;lt;/query&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;earliestTime&amp;gt;$tm.earliestTime$&amp;lt;/earliestTime&amp;gt;
      &amp;lt;latestTime&amp;gt;$tm.latestTime$&amp;lt;/latestTime&amp;gt;
      &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
      &amp;lt;option name="displayRowNumbers"&amp;gt;true&amp;lt;/option&amp;gt;
      &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
      &amp;lt;option name="count"&amp;gt;5&amp;lt;/option&amp;gt;
    &amp;lt;/table&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 28 Feb 2016 23:57:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228351#M67493</guid>
      <dc:creator>gyslainlatsa</dc:creator>
      <dc:date>2016-02-28T23:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a form for user input on a dashboard to only run panel searches for data from certain hosts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228352#M67494</link>
      <description>&lt;P&gt;thanks ! there is no input (form)  created I just got "-------------------------------&lt;BR /&gt;
----------------------------------------"  above time selector. and the dash-board itself say " waiting for input"&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 00:44:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228352#M67494</guid>
      <dc:creator>raindrop18</dc:creator>
      <dc:date>2016-02-29T00:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a form for user input on a dashboard to only run panel searches for data from certain hosts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228353#M67495</link>
      <description>&lt;P&gt;sorry I had made a mistake in the code but I corrected.&lt;/P&gt;

&lt;P&gt;copy the new code and try again&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 08:09:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228353#M67495</guid>
      <dc:creator>gyslainlatsa</dc:creator>
      <dc:date>2016-02-29T08:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a form for user input on a dashboard to only run panel searches for data from certain hosts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228354#M67496</link>
      <description>&lt;P&gt;thanks, all good now!!!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 17:21:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228354#M67496</guid>
      <dc:creator>raindrop18</dc:creator>
      <dc:date>2016-02-29T17:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a form for user input on a dashboard to only run panel searches for data from certain hosts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228355#M67497</link>
      <description>&lt;P&gt;happy for you, &lt;/P&gt;

&lt;P&gt;don't forget to accepted and vote my answers&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 18:48:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-form-for-user-input-on-a-dashboard-to-only-run/m-p/228355#M67497</guid>
      <dc:creator>gyslainlatsa</dc:creator>
      <dc:date>2016-02-29T18:48:00Z</dc:date>
    </item>
  </channel>
</rss>

