All Apps and Add-ons

How to increase textfield size in formsearch

splunkatl
Path Finder

I am using module=textfield in formsearch. I lookslike text box is smaller to enter full our search string. How do I increase the textbox size when used module=textfield .I tried giving width=100 but didnot helped.
is there any way we can increase the size to textbox?
Here is code in XML.




<module name="Message" layoutPanel="messaging">
    <param name="filter">*</param>
    <param name="clearOnJobDispatch">False</param>
    <param name="maxSize">2</param>
</module>

<module name="TitleBar" layoutPanel="navigationHeader">
    <param name="actionsMenuFilter">dashboard</param>
    <!-- <param name="showActionsMenu">False</param> -->
</module>



user
Enter UserID
user="$value$"
left
0

0 Karma
1 Solution

splunkatl
Path Finder

this has fixed after changing the code as below

    <module name="TextField" >
        <param name="name">user</param>
        <param name="label">Enter UserID</param>
        <param name="template">user="$value$"</param>
        <param name="float">left</param>
        <param name="default">0</param>
    <param name="width">70%</param>

View solution in original post

0 Karma

splunkatl
Path Finder

this has fixed after changing the code as below

    <module name="TextField" >
        <param name="name">user</param>
        <param name="label">Enter UserID</param>
        <param name="template">user="$value$"</param>
        <param name="float">left</param>
        <param name="default">0</param>
    <param name="width">70%</param>
0 Karma

nabeel652
Builder

is this answer in some code word?

0 Karma

ppablo
Retired

Hi @nabeel652

The post wasn't properly formatted. I just edited it to render the code properly. Do keep in mind though that this post is almost 4 years old and the solution might not be relevant to more current Splunk versions

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...