Splunk® Enterprise

Splunk Dashboard Studio

Splunk Enterprise version 8.2 is no longer supported as of September 30, 2023. See the Splunk Software Support Policy for details. For information about upgrading to a supported version, see How to upgrade Splunk Enterprise.
This documentation does not apply to the most recent version of Splunk® Enterprise. For documentation on the most recent version, go to the latest release.

Add a text box

You can add a text box to your dashboard and choose from a variety of font styles, sizes, and colors. This feature is only available if you are using the absolute layout.

This is am image of a text box

Select the text box using the visual editor by clicking the Add Text button ( The 'Add Text button in the editing toolbar. ) in the editing toolbar.

Configuration Panel options text boxes

Position & Size
You can use your mouse to change the size or location of the visualization, or the Position & Size section of the Configuration panel for pixel perfect sizing and placement.

Rotation
Use Degrees option to rotate your text box. The default setting is zero. Higher positive values will rotate the text box clockwise. Higher negative values will rotate the box counter clockwise. The center of rotation is the top right of the text.

Font settings

  • Font
    choose from the following font style options:
    • Splunk Platform Sans
    • Splunk Data Sans
    • Splunk Platform Mono
    • Arial
    • Helvetica
    • Times New Roman
    • Comic Sans MS
  • Font Size
    Choose the size of your font in pixels.
  • Text Color
    Choose your text color. You can choose from the preset palette by clicking the color box, or enter a hex code in the field provided. For example, enter #FFFF00 for bright yellow.
  • Weight
    Choose the thickness of your text.
    • Normal
    • Bold
    • Light

Background Color
Choose the background color for the text box. You can choose from the preset palette by clicking the color box, or enter a hex code in the field provided. For example, enter #FFFF00 for bright yellow.

Drilldown
Specify a URL to go to when a user clicks the text box.

Source options for text boxes


The following options are available for editing text in the source editor:

Property Type Default Description
fontFamily string Splunk Platform Sans Specify the font family to be used. For example Comic Sans MS. Note that the font needs to be available in your end user's environment.
fontSize number 24 Specify the font size in pixels.
fontWeight (normal | bold | light) normal Specify the font weight.
lineHeight (number | percent) 120% Specify the line height for the text block.
rotation number 0 Specify the text angle in degrees.
color string Specify the text color using a hex code. For example, "#FF0000".
backgroundColor string transparent Specify the background color using a hex code. For example, "#FF0000".
content string N/A Specify the text content.
Last modified on 13 July, 2021
Add a custom icon   Generate a choropleth map

This documentation applies to the following versions of Splunk® Enterprise: 8.2.1, 8.2.2, 8.2.3, 8.2.4, 8.2.5, 8.2.6, 8.2.7, 8.2.8, 8.2.9, 8.2.10, 8.2.11, 8.2.12


Was this topic useful?







You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters