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
Path Finder

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 AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...