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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...