<?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 text box in a dashboard? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-a-text-box-in-a-dashboard/m-p/246605#M15378</link>
    <description>&lt;P&gt;As you might have figured out, above was just an example . &lt;BR /&gt;
You search which displays in the panel should have a column Employee and then add the token to this search. &lt;BR /&gt;
&lt;CODE&gt;MyQuery Employee=$textboxtoken$&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Is it possible to paste your xml ?&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jan 2017 07:35:12 GMT</pubDate>
    <dc:creator>renjith_nair</dc:creator>
    <dc:date>2017-01-19T07:35:12Z</dc:date>
    <item>
      <title>How to add a text box in a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-a-text-box-in-a-dashboard/m-p/246601#M15374</link>
      <description>&lt;P&gt;I have a dashboard which has a filter. In the filter, there are around 7 reports and by passing the token in the search string, we can reload the reports in the dashboard. I also need a text box in which if i type something which is related to a particular report, then that should be shown in the dashboard.&lt;/P&gt;

&lt;P&gt;Say there is a report named EmployeeReport, if i type &lt;CODE&gt;Employee=A*&lt;/CODE&gt;, then all the names starting with A should be displayed. Another report named organization, if i type &lt;CODE&gt;Org.=A*&lt;/CODE&gt; then all organizations starting with letter A will be displayed. Here Employee and Org are header fields in their respective reports. Initially the dashboard is blank, the moment one selects something in the Dropdown, then the dashboard will be reloaded. So how can i bring this text box and link it with the dashboard?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 05:39:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-a-text-box-in-a-dashboard/m-p/246601#M15374</guid>
      <dc:creator>ASISH_9</dc:creator>
      <dc:date>2017-01-19T05:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a text box in a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-a-text-box-in-a-dashboard/m-p/246602#M15375</link>
      <description>&lt;P&gt;You can add text box and include the token in your search &lt;/P&gt;

&lt;P&gt;eg: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;test&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="dropdown" token="sourcetype" searchWhenChanged="false"&amp;gt;
      &amp;lt;label&amp;gt;Sourcetype&amp;lt;/label&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;sourcetype&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;sourcetype&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;index=_internal|stats count by sourcetype&amp;lt;/query&amp;gt;
        &amp;lt;earliest&amp;gt;-15m&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;choice value="*"&amp;gt;All&amp;lt;/choice&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="text" token="srch"&amp;gt;
      &amp;lt;label&amp;gt;Search&amp;lt;/label&amp;gt;
      &amp;lt;initialValue&amp;gt;*&amp;lt;/initialValue&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal sourcetype="$sourcetype$" source="*$srch$*"|table host,source,sourcetype&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-15m&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Jan 2017 07:17:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-a-text-box-in-a-dashboard/m-p/246602#M15375</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2017-01-19T07:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a text box in a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-a-text-box-in-a-dashboard/m-p/246603#M15376</link>
      <description>&lt;P&gt;Hello renjith.nair , if I add this in my xml and in the text box if I type Employee=*,then no resuls are coming.In the searh query it is displaying something like this&lt;/P&gt;

&lt;P&gt;MyQuery|search Text="Employee=*"|&lt;/P&gt;

&lt;P&gt;and no results are coming&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 07:27:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-a-text-box-in-a-dashboard/m-p/246603#M15376</guid>
      <dc:creator>ASISH_9</dc:creator>
      <dc:date>2017-01-19T07:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a text box in a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-a-text-box-in-a-dashboard/m-p/246604#M15377</link>
      <description>&lt;P&gt;Hello  @renjith.nair , if I add this to my xml and I type "Employee=*" in the text box then no results are coming.Further when I validated the query,the query came out to be something like this&lt;/P&gt;

&lt;P&gt;MyQuery|serach Text="Employee=*"&lt;/P&gt;

&lt;P&gt;and no reults are being displayed.If any other means you can suggest.&lt;BR /&gt;
Thanks by the way&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 07:30:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-a-text-box-in-a-dashboard/m-p/246604#M15377</guid>
      <dc:creator>ASISH_9</dc:creator>
      <dc:date>2017-01-19T07:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a text box in a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-a-text-box-in-a-dashboard/m-p/246605#M15378</link>
      <description>&lt;P&gt;As you might have figured out, above was just an example . &lt;BR /&gt;
You search which displays in the panel should have a column Employee and then add the token to this search. &lt;BR /&gt;
&lt;CODE&gt;MyQuery Employee=$textboxtoken$&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Is it possible to paste your xml ?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 07:35:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-a-text-box-in-a-dashboard/m-p/246605#M15378</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2017-01-19T07:35:12Z</dc:date>
    </item>
  </channel>
</rss>

