<?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 can I add a UI element in a dashboard to select the source? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-add-a-UI-element-in-a-dashboard-to-select-the-source/m-p/130639#M26863</link>
    <description>&lt;P&gt;Hi czervos,&lt;/P&gt;

&lt;P&gt;in addition to @somesoni2 answer, take a look at this &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/Buildandeditforms#Static_and_dynamic_inputs_to_forms"&gt;nice example from the docs&lt;/A&gt;. If you follow this, you should be able to get it working.&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Mon, 14 Apr 2014 14:04:18 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2014-04-14T14:04:18Z</dc:date>
    <item>
      <title>How can I add a UI element in a dashboard to select the source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-add-a-UI-element-in-a-dashboard-to-select-the-source/m-p/130637#M26861</link>
      <description>&lt;P&gt;I have created some dashboard that I use to expedite debugging of certain issues with one of our applications.  The issue I am having and I'd like to improve upon is that currently the source files are hardcoded into the searches of the dashboards.  I know I can do a global search and replace in the XML to get it to look at other source files but this is not very user friendly if I want to share this dashboard/tool with others.  Is there a way to add a UI element to do this much like the time - drop down in dashboards &amp;amp; apps?&lt;/P&gt;

&lt;P&gt;I tried to do this manually and managed to create the UI element.  However I can't get the source = $newsource to be replaced in the multiple searches that create the views of the dashboard.&lt;/P&gt;

&lt;P&gt;TIA &lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2014 13:41:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-add-a-UI-element-in-a-dashboard-to-select-the-source/m-p/130637#M26861</guid>
      <dc:creator>czervos</dc:creator>
      <dc:date>2014-04-14T13:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I add a UI element in a dashboard to select the source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-add-a-UI-element-in-a-dashboard-to-select-the-source/m-p/130638#M26862</link>
      <description>&lt;P&gt;You can create a dropdown to hold the source data (use |metadata type=sources index=main | table source) and then use the dropdown token in your search.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2014 13:51:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-add-a-UI-element-in-a-dashboard-to-select-the-source/m-p/130638#M26862</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-04-14T13:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I add a UI element in a dashboard to select the source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-add-a-UI-element-in-a-dashboard-to-select-the-source/m-p/130639#M26863</link>
      <description>&lt;P&gt;Hi czervos,&lt;/P&gt;

&lt;P&gt;in addition to @somesoni2 answer, take a look at this &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/Buildandeditforms#Static_and_dynamic_inputs_to_forms"&gt;nice example from the docs&lt;/A&gt;. If you follow this, you should be able to get it working.&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2014 14:04:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-add-a-UI-element-in-a-dashboard-to-select-the-source/m-p/130639#M26863</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-04-14T14:04:18Z</dc:date>
    </item>
  </channel>
</rss>

