Dashboards & Visualizations

add text value in search dashboard

duongl2
Explorer

How do i add a text "like search01 server" in the search dashboard, so when user log in search head, they know which server they are in the pool.

thanks

Tags (1)
0 Karma

duongl2
Explorer

anywhere on a dashboard; because we have load balancing in front of 2 Search Head. we just want to know which one is we use (login)

0 Karma

sideview
SplunkTrust
SplunkTrust

In web.conf you can add a key called login_content, and it will add a message on the login page.

If you want the server name to appear on the actual dashboard, you could just hardcode it into the dashboard.xml files, or in theory you could write some custom javascript to write it out dynamically.

But anyway the easiest way is to put the message on the login page, like this:

[settings]
login_content = <h3>this is search01</h3>

also appears in some other answers.
http://splunk-base.splunk.com/answers/6096/custom-login-page-message-for-splunk-413

0 Karma

acdevlin
Communicator

I'm a bit confused by your question. Are you trying to put the literal string "like search01 server" anywhere on a dashboard? Or are you trying to put it as the default text inside a search's input bar?

0 Karma
Get Updates on the Splunk Community!

What's New in Splunk Observability - October 2025

What’s New?  We’re excited to announce the latest enhancements to Splunk Observability Cloud and share what’s ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

&#x1f5e3; You Spoke, We Listened Audit Trail v2 wasn’t written in isolation—it was shaped by your voices. In ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

 Prepare to elevate your security operations with the powerful upgrade to Splunk Enterprise Security 8.x! This ...