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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...