-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into create-list-chunk-for-exception
- Loading branch information
Showing
339 changed files
with
52,503 additions
and
3,555 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
The `Color` field formatter enables you to specify colors with specific ranges of values for a numeric field. | ||
The *Color* field formatter enables you to specify colors with ranges of values for a number field. | ||
|
||
When you select the `Color` field formatter, Kibana displays the *Range*, *Font Color*, *Background Color*, and | ||
*Example* fields. | ||
|
||
Click the *Add Color* button to add a range of values to associate with a particular color. You can click in the *Font | ||
Color* and *Background Color* fields to display a color picker. You can also enter a specific hex code value in the | ||
field. The effect of your current color choices are displayed in the *Example* field. | ||
When you select the *Color* formatter, click *Add Color*, then specify the *Range*, *Text color*, and *Background color*. | ||
|
||
image::images/colorformatter.png[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 12 additions & 3 deletions
15
docs/management/field-formatters/string-formatter.asciidoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
The `String` field formatter can apply the following transformations to the field's contents: | ||
The *String* field formatter enables you to apply transforms to the field. | ||
|
||
Supported transformations include: | ||
|
||
* Convert to lowercase | ||
* Convert to uppercase | ||
* Convert to title case | ||
* Apply the short dots transformation, which replaces the content before a `.` character with the first character of | ||
that content, as in the following example: | ||
* Apply the short dots transformation, which replaces the content before the `.` character with the first character of | ||
the content. For example: | ||
[horizontal] | ||
*Original*:: *Becomes* | ||
`com.organizations.project.ClassName`:: `c.o.p.ClassName` | ||
|
||
* Base64 decode | ||
* URL param decode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,32 @@ | ||
The `Url` field formatter can take on the following types: | ||
You can specify the following types to the `Url` field formatter: | ||
|
||
* The *Link* type turn the contents of the field into an URL. | ||
* The *Image* type can be used to specify an image directory where a specified image is located. | ||
* The *Audio* type can be used to specify an audio directory where a specified audio file is located. | ||
* *Link* — Converts the contents of the field into an URL. You can specify the width and height of the image, while keeping the aspect ratio. | ||
When the image is smaller than the specified paramters, the image is unable to upscale. | ||
* *Image* — Specifies the image directory. | ||
* *Audio* — Specify the audio directory. | ||
For an *Image* type you can specify width and height attributes. These will be used to set the max width / max height of the image, while keeping the aspect ratio. Image will not be upscaled if it's smaller than the provided size parameters. | ||
|
||
You can customize either type of URL field formats with templates. A _URL template_ enables you to add specific values | ||
to a partial URL. Use the string `{{value}}` to add the contents of the field to a fixed URL. | ||
To customize URL field formats, use templates. An *URL template* enables you to add values | ||
to a partial URL. To add the contents of the field to a fixed URL, use the `{{value}}` string. | ||
|
||
For example, when: | ||
|
||
* A field contains a user ID | ||
* That field uses the `Url` field formatter | ||
* A field uses the `Url` field formatter | ||
* The URI template is `http://company.net/profiles?user_id={{value}}` | ||
The resulting URL replaces `{{value}}` with the user ID from the field. | ||
|
||
The `{{value}}` template string URL-encodes the contents of the field. When a field encoded into a URL contains | ||
non-ASCII characters, these characters are replaced with a `%` character and the appropriate hexadecimal code. For | ||
non-ASCII characters, the characters are replaced with a `%` character and the appropriate hexadecimal code. For | ||
example, field contents `users/admin` result in the URL template adding `users%2Fadmin`. | ||
|
||
When the formatter type is set to *Image*, the `{{value}}` template string specifies the name of an image at the | ||
When the formatter type is *Image*, the `{{value}}` template string specifies the name of an image at the | ||
specified URI. | ||
|
||
When the formatter type is set to *Audio*, the `{{value}}` template string specifies the name of an audio file at the specified URI. | ||
When the formatter type is *Audio*, the `{{value}}` template string specifies the name of an audio file at the specified URI. | ||
|
||
In order to pass unescaped values directly to the URL, use the `{{rawValue}}` string. | ||
To pass unescaped values directly to the URL, use the `{{rawValue}}` string. | ||
|
||
A _Label Template_ enables you to specify a text string that displays instead of the raw URL. You can use the | ||
A *Label template* enables you to specify a text string that appears instead of the raw URL. You can use the | ||
`{{value}}` template string normally in label templates. You can also use the `{{url}}` template string to display | ||
the formatted URL. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.