All Apps and Add-ons

Can i resize the width of a pulldown and a TextField?

royimad
Builder

I have a pulldown where i would like to resize the width and also resize the width of a TextField , how to do that in sideview/splunk?

<module name="Search"  layoutPanel="panel_row1_col1" autoRun="True">
  <param name="search">sourcetype="serverlog" | dedup origin  | sort origin | fields origin</param>
  <module name="Pulldown" layoutpanel="panel_row1_col1">
    <param name="name">selectedSourcetypes</param>
    <param name="label"></param>
    <param name="size">5</param>        
    <param name="template">origin="$value$"</param>
    <param name="separator">+OR+</param>
    <param name="outerTemplate">( $value$ )</param>
    <param name="staticOptions"></param>
    <param name="valueField">origin</param>

    <module name="TextField" layoutpanel="panel_row1_col2">
      <param name="name">EventName</param>
      <param name="float">left</param>
      <param name="template">$value$</param>
      <param name="label"></param>
      <param name="default"></param> 

Thanks for your help,

1 Solution

royimad
Builder

This should work:
70%

View solution in original post

0 Karma

royimad
Builder

This should work:
70%

0 Karma

sideview
SplunkTrust
SplunkTrust

Yep. You can also specify pixels for both of them via

<param name="width">150px</param>

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...