Dashboards & Visualizations

Splunk 6 - Changing Dropdown width in XML

churchcody
Engager

I apologize if this question has been asked before, but I can't seem to figure out how to adjust the width of a dynamic dropdown input on my form dashboard via XML. The only values I know for altering width are either the param or option ones, and neither has any effect. Do I need to use more advanced XML (which I am not familiar with)? My attempts with HTML have also been fruitless (of which I am also unfamiliar with).

<input type="dropdown" token="dependency" searchWhenChanged="true">
  <label>Select a Dependency:</label>
  <prefix>"</prefix>
  <suffix>"</suffix>
  <default>"Select from List"</default>
  <populatingSearch fieldForValue="ext_dep_identifier" fieldForLabel="ext_dep_identifier" earliest="$earliest$" latest="$latest$">
    <![CDATA[index=main source=$app$ | stats count by ext_dep_identifier]]>
  </populatingSearch>
  <param name="width">500px</param>
</input>
Tags (3)

churchcody
Engager

Excellent, that did do the job! Many thanks!

aholzer
Motivator

I believe this was answered a few days ago. You'll need to change your CSS:

http://answers.splunk.com/answers/114078/splunk-6-dropdown-menu-decrease-width

-- EDIT --
Converted to answer

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...