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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...