Skip to content

Commit 4e4f0cf

Browse files
authored
add banners settings doc (#94672) (#95005)
* add banners settings doc * address review comments * add link to the correct file * use singular for banner
1 parent 3e32ee0 commit 4e4f0cf

3 files changed

Lines changed: 37 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
[role="xpack"]
2+
[[banners-settings-kb]]
3+
=== Banner settings in {kib}
4+
++++
5+
<titleabbrev>Banners settings</titleabbrev>
6+
++++
7+
8+
Banners are disabled by default. You need to manually configure them in order to use the feature.
9+
10+
You can configure the `xpack.banners` settings in your `kibana.yml` file.
11+
12+
[[general-banners-settings-kb]]
13+
==== General banner settings
14+
15+
[cols="2*<"]
16+
|===
17+
18+
| `xpack.banners.placement`
19+
| Set to `header` to enable the header banner. Defaults to `disabled`.
20+
21+
| `xpack.banners.textContent`
22+
| The text to display inside the banner, either plain text or Markdown.
23+
24+
| `xpack.banners.textColor`
25+
| The color for the banner text. Defaults to `#8A6A0A`.
26+
27+
| `xpack.banners.backgroundColor`
28+
| The color of the banner background. Defaults to `#FFF9E8`.
29+
30+
|===
31+
32+
[NOTE]
33+
====
34+
The `banners` plugin is a https://www.elastic.co/subscriptions[subscription feature]
35+
====

docs/settings/settings-xkb.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ For more {kib} configuration settings, see <<settings>>.
1212

1313
include::alert-action-settings.asciidoc[]
1414
include::apm-settings.asciidoc[]
15+
include::banners-settings.asciidoc[]
1516
include::dev-settings.asciidoc[]
1617
include::graph-settings.asciidoc[]
1718
include::infrastructure-ui-settings.asciidoc[]

docs/setup/settings.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,7 @@ Valid locales are: `en`, `zh-CN`, `ja-JP`. *Default: `en`*
685685

686686
include::{kib-repo-dir}/settings/alert-action-settings.asciidoc[]
687687
include::{kib-repo-dir}/settings/apm-settings.asciidoc[]
688+
include::{kib-repo-dir}/settings/banners-settings.asciidoc[]
688689
include::{kib-repo-dir}/settings/dev-settings.asciidoc[]
689690
include::{kib-repo-dir}/settings/graph-settings.asciidoc[]
690691
include::{kib-repo-dir}/settings/fleet-settings.asciidoc[]

0 commit comments

Comments
 (0)