Configure the layout of glass tables in ITSI
The layout of the glass table editor in IT Service Intelligence (ITSI) comprises the canvas size, the background color or image, and the positioning of visualizations on the canvas. You can modify the layout in the UI and in the layout
section of the source editor.
Change the canvas size
The glass table canvas has default dimensions of 1920 x 1080 pixels. This is conceptually different than the current glass table editor, which has an infinite canvas.
- (Optional) In the Configuration panel, change the Display Mode.
- Select Auto so the current canvas size applies when using Edit or View mode.
- Select Actual Size to display the actual size in pixels.
- Select Fit to Width so the canvas takes up the entire window and applies to both edit mode and view mode. The canvas fits horizontally but might still require vertical scroll.
- Manually change the dimensions of the canvas, in pixels, using the Canvas Width and Canvas Height fields.
- Click saveto save your changes.
The following examples are some popular canvas sizes:
- Monitors. 16:9 aspect ratio resolutions such as: 1280 x 720 (HD), 1920 x 1080 (FHD), 2560 x 1440 (4K)
- U.S. letter. 4:3 aspect ratio resolutions such as: 640 x 480, 900 x 600
- Some mobile phones. 18:9 aspect ratio resolutions such as: 2880 x 1440
Change the background color
- In the Configuration panel, choose a Background Color. Either enter the hex code for a color, such as
#ffff00
, or choose a color from the palette.If you've added a background image to your glass table, only portions of the canvas that are not covered by the image are visible in the designated color.
- Click savewhen you're finished.
Upload a background image
You can upload a background image to further customize your glass table. Supported image types are PNG, JPG/JPEG, and GIF.
By default, uploaded background images are positioned at (0,0) on your glass table canvas, so the top left corner is at the top left corner of the canvas.
- In the Background Image section of the Configuration panel, drop your image file or click browse... to select it. You can also specify a URL for web-based images. If you use web-based images, the image is updated each time you refresh your glass table.
- Configure the sizing options to fit your individual needs:
- Select Contain (default) to fit the entire image to the canvas width. The canvas height might not be completely covered.
- Select Cover to cover the entire canvas. The entire background image might not be displayed if the height to width ratio is different than that of the canvas.
- Select Custom to provide your own sizing and position settings.
- Select Original Size to display the image with its original dimensions.
- Click View to see the image as it will appear in the glass table.
- Click savewhen you're finished.
Show or hide the title and description
By default, the glass table title and description are displayed on the canvas. By using Toggle Show Title & Description you can hide the title and description on the canvas. You can configure the same behavior in the source editor by setting showTitleAndDescription
to true
or false
.
Configure the layout in the source editor
The layout
section of the glass table source definition determines the layout of your glass table. The types of layout supported are described below:
absolute
The absolute
layout type positions visualizations on absolute coordinates that start from the top left corner. This means the center of the grid, (0,0) corresponds with the upper left corner of your canvas. This is the default starting position for the top left corner of any background image you may use. You must specify both height and width, in pixels, when using the absolute layout.
- By default, absolute layout is not responsive. Resizing the container doesn't resize the glass table. However, you can specify auto-scale for the
display
option to make the layout responsive.
The following example uses the absolute layout with a specified width and height using the auto-scale display option.
Optionally, include the submitButton
option to add a Submit button that saves your settings for the Global Time Range and Global Refresh Rate when clicked. If you don't include the submitButton
option or set it to false, all changes take effect immediately.
The absolute layout looks similar to the following:
"layout": { "type": "absolute", "options": { "width": 900, "height": 600, "display": "auto-scale", "submitButton": true "showTitleAndDescription": true }, "structure": [ { "position": { "x": 20, "y": 20, "w": 400, "h": 60 }, "item": "viz3" } ], "globalInputs": [ "input1" ] }
Overview of the glass table editor in ITSI | Add data sources to glass tables in ITSI |
This documentation applies to the following versions of Splunk® IT Service Intelligence: 4.16.0 Cloud only, 4.17.0, 4.17.1
Feedback submitted, thanks!