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!

Infographic provides the TL;DR for the 2023 Splunk Career Impact Report

We’ve been shouting it from the rooftops! The findings from the 2023 Splunk Career Impact Report showing that ...

Splunk Lantern | Getting Started with Edge Processor, Machine Learning Toolkit ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...