Introducing Text Area in Splunk Dashboard

Introducing Text Area in Splunk Dashboard

Hey, today we are back with an exciting topic, you may know about “Text Input” in the Splunk dashboard, which is generally used to give text input in our dashboard. But the problem with the text input box is that size of that box cannot be increased, yes it is possible that by using some inline CSS we can increase the size but we can only increase the width, you cannot increase the height. That’s why we going to introduce Textarea, which is a customizable text box. A user can easily increase and decrease the size of the box without any coding.
At first put the following JS file in $SPLUNK_HOME/etc/apps/<app name>/appserver/static
If you want to download the js file please click here.

Now use the following source code to implement the above task.

If you want to download the source code of this sample dashboard please click here.
Now save the dashboard and restart your Splunk instance once.
Come back to your dashboard and it will look great.


Now as you can see a big comment box is there and most importantly if you hover your mouse in the rightmost corner of the box we will find an arrow sign, by using that anyone can increase and decrease the size of the box easily.

You can also know about :  How to Change Panel Title Using Time Range Picker Dynamically Or In Human Readable Format

Happy Splunking!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.