Getting Data In

How to increase the size of text input in a dashboard

sravankaripe
Communicator

I have a dashboard (Say /app/MyApp/MyDashboard) In this dashboard have a text input.
i want to increase the size of this text input.

How can i do this?
what all the files i need to update ?

0 Karma

WalshyB
SplunkTrust
SplunkTrust

Hey,

This can be done through css - within the /appserver/static directory of the app you want to store the css file in.
for example, if the dashboard is in the search app, then /etc/apps/search/appserver/static/example.css.
Within the dashboard xml

Then your css file will have the changes to the text input that you want.
For width changes-
#inputid {
width: 200px !important;
}

I encourage using inspect element and and selecting the text input and adding css you want to preview what the changes would look like and to finetune it to what you require. Hope this helps a little.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

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

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...