<?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 input filters in dashboard header section in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478962#M31423</link>
    <description>&lt;P&gt;I would not really recommend this, but you could move the fieldset around with jquery and with some additional CSS, you're halfway there.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$('div.fieldset').appendTo('div.dashboard-header').css('float', 'right');
$('h1.dashboard-title').css('float', 'left');
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You might want to hide input titles and adjust some padding, this is just to get you started.&lt;/P&gt;

&lt;P&gt;And as I said, I would not exactly recommend this as it is hacky, probably not upgrade safe. And I'm not an UI/UX expert, so there's probably a better way to achieve what you intend.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Apr 2020 10:48:16 GMT</pubDate>
    <dc:creator>jeffland</dc:creator>
    <dc:date>2020-04-23T10:48:16Z</dc:date>
    <item>
      <title>How to add input filters in dashboard header section</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478954#M31415</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;
Need your suggestion &amp;amp; guidance to attain the below. To get more space on the dashboard i want to move the input filters to the header section itself.(Attached in the pic).&lt;BR /&gt;
Edited:&lt;BR /&gt;
@to4kawa please find the attached pic, let me know if you still need clarification.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 05:39:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478954#M31415</guid>
      <dc:creator>vinothn</dc:creator>
      <dc:date>2020-04-22T05:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to add input filters in dashboard header section</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478955#M31416</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8720i2B37EB0E5B57D3FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
like this?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 09:26:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478955#M31416</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-22T09:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to add input filters in dashboard header section</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478956#M31417</link>
      <description>&lt;P&gt;since we can update only two pics i have edited the question @to4kawa please take a look into that &amp;amp; let me know if you need more clarification. (Basically i wanted to add the input filters in the dashboard header section itself) &lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 11:25:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478956#M31417</guid>
      <dc:creator>vinothn</dc:creator>
      <dc:date>2020-04-22T11:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to add input filters in dashboard header section</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478957#M31418</link>
      <description>&lt;P&gt;I see your pic.&lt;BR /&gt;
I don't know &lt;CODE&gt;input&lt;/CODE&gt; can be used in header field with &lt;EM&gt;SimpleXML&lt;/EM&gt;.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;form hideEdit="true"&amp;gt;&lt;/CODE&gt; is disable &lt;CODE&gt;edit button&lt;/CODE&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 12:36:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478957#M31418</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-22T12:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to add input filters in dashboard header section</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478958#M31419</link>
      <description>&lt;P&gt;@to4kawa i have tried this options already but this is not helping me to met my  expectations.&lt;BR /&gt;
Just need one information is there any way to include the &lt;STRONG&gt;input filters inside the html content&lt;/STRONG&gt;.&lt;BR /&gt;
Even by using additional Js also fine but please provide some kind of skeleton so i will work on this.&lt;/P&gt;

&lt;P&gt;`&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;panel&amp;gt;
  &amp;lt;html&amp;gt;
     &amp;lt;style&amp;gt;
        #filter_time,#filter_refresh{
         display: inline-flex !important;
       }
      #id_multiselect{
         display: inline-flex !important;

       }

       #filter_time label,#id_multiselect label,#filter_refresh label,#filter_refresh label{
         padding-right: 20px;
         padding-top: 5px;

       }
     &amp;lt;/style&amp;gt;

     &amp;lt;input id="filter_time" type="time" token="tokDateRange" searchWhenChanged="true"&amp;gt;
    &amp;lt;label&amp;gt;Date Range&amp;lt;/label&amp;gt;
    &amp;lt;default&amp;gt;
      &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
    &amp;lt;/default&amp;gt;
  &amp;lt;/input&amp;gt;
  &amp;lt;input id="filter_refresh" type="dropdown" token="field1"&amp;gt;
    &amp;lt;label&amp;gt;Drop_Down&amp;lt;/label&amp;gt;
    &amp;lt;choice value="value1"&amp;gt;val&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="value2"&amp;gt;val1&amp;lt;/choice&amp;gt;
    &amp;lt;default&amp;gt;value1&amp;lt;/default&amp;gt;
    &amp;lt;initialValue&amp;gt;value1&amp;lt;/initialValue&amp;gt;
  &amp;lt;/input&amp;gt;

 &amp;lt;/html&amp;gt;


&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;`&lt;/P&gt;

&lt;P&gt;i am trying to do something like this, but this is not the correct way i need your help to achieve this.&lt;BR /&gt;
Let me know if you need any clarification on the question.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 15:24:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478958#M31419</guid>
      <dc:creator>vinothn</dc:creator>
      <dc:date>2020-04-22T15:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to add input filters in dashboard header section</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478959#M31420</link>
      <description>&lt;P&gt;@vinothn &lt;/P&gt;

&lt;P&gt;Are you able to use the below just under the title field in the panel so you can use for any panel you need? &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;     &amp;lt;input type="text" token="field1"&amp;gt;
        &amp;lt;label&amp;gt;field1&amp;lt;/label&amp;gt;
      &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Apr 2020 16:00:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478959#M31420</guid>
      <dc:creator>Sfry1981</dc:creator>
      <dc:date>2020-04-22T16:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to add input filters in dashboard header section</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478960#M31421</link>
      <description>&lt;P&gt;@Sfry1981 thanks for your response but it is not working.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 05:51:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478960#M31421</guid>
      <dc:creator>vinothn</dc:creator>
      <dc:date>2020-04-23T05:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to add input filters in dashboard header section</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478961#M31422</link>
      <description>&lt;P&gt;@vinothn  If you add a text input on the dashboard and then drag that text input to the header of the panel you want does that work? &lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 07:26:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478961#M31422</guid>
      <dc:creator>Sfry1981</dc:creator>
      <dc:date>2020-04-23T07:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to add input filters in dashboard header section</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478962#M31423</link>
      <description>&lt;P&gt;I would not really recommend this, but you could move the fieldset around with jquery and with some additional CSS, you're halfway there.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$('div.fieldset').appendTo('div.dashboard-header').css('float', 'right');
$('h1.dashboard-title').css('float', 'left');
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You might want to hide input titles and adjust some padding, this is just to get you started.&lt;/P&gt;

&lt;P&gt;And as I said, I would not exactly recommend this as it is hacky, probably not upgrade safe. And I'm not an UI/UX expert, so there's probably a better way to achieve what you intend.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 10:48:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478962#M31423</guid>
      <dc:creator>jeffland</dc:creator>
      <dc:date>2020-04-23T10:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to add input filters in dashboard header section</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478963#M31424</link>
      <description>&lt;P&gt;see &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML&lt;/A&gt;&lt;BR /&gt;
SimpleXML can't display input in header.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 11:11:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-input-filters-in-dashboard-header-section/m-p/478963#M31424</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-23T11:11:33Z</dc:date>
    </item>
  </channel>
</rss>

