Dashboards & Visualizations
Highlighted

add text value in search dashboard

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
Highlighted

Re: add text value in search dashboard

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
Highlighted

Re: add text value in search dashboard

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
Highlighted

Re: add text value in search dashboard

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