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!

Splunk Enterprise Security 8.0.2 Availability: On cloud and On-premise!

A few months ago, we released Splunk Enterprise Security 8.0 for our cloud customers. Today, we are excited to ...

Logs to Metrics

Logs and Metrics Logs are generally unstructured text or structured events emitted by applications and written ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...