-
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 remove-statehood-deps
- Loading branch information
Showing
10 changed files
with
76 additions
and
26 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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,30 +1,16 @@ | ||
--- | ||
id: kibServerAndCoreComponents | ||
slug: /kibana-dev-docs/core-intro | ||
title: Core components | ||
title: Kibana Server and Core components | ||
summary: An introduction to the Kibana server and core components. | ||
date: 2021-02-26 | ||
tags: ['kibana','onboarding', 'dev', 'architecture'] | ||
--- | ||
|
||
Core is a set of systems (frontend, backend etc.) that Kibana and its plugins are built on top of. | ||
|
||
## Integration with the "legacy" Kibana | ||
|
||
Most of the existing core functionality is still spread over "legacy" Kibana and it will take some time to upgrade it. | ||
Kibana is started using existing "legacy" CLI that bootstraps `core` which in turn creates the "legacy" Kibana server. | ||
At the moment `core` manages HTTP connections, handles TLS configuration and base path proxy. All requests to Kibana server | ||
will hit HTTP server exposed by the `core` first and it will decide whether request can be solely handled by the new | ||
platform or request should be proxied to the "legacy" Kibana. This setup allows `core` to gradually introduce any "pre-route" | ||
processing logic, expose new routes or replace old ones handled by the "legacy" Kibana currently. | ||
|
||
Once config has been loaded and some of its parts were validated by the `core` it's passed to the "legacy" Kibana where | ||
it will be additionally validated so that we can make config validation stricter with the new config validation system. | ||
Even though the new validation system provided by the `core` is also based on Joi internally it is complemented with custom | ||
rules tailored to our needs (e.g. `byteSize`, `duration` etc.). That means that config values that were previously accepted | ||
by the "legacy" Kibana may be rejected by the `core` now. | ||
|
||
### Logging | ||
`core` has its own <DocLink id="kibCoreLogging" text="logging system"/> and will output log records directly (e.g. to file or terminal) when configured. When no specific configuration is provided, logs are forwarded to the "legacy" Kibana so that they look the same as the rest of the | ||
log records throughout Kibana. | ||
|
||
<DocBadgeComingSoon tipTitle="Other core components" tipContent="I will be content on the other components offered by core">Other components</DocBadgeComingSoon> |
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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
[[discover-document-context]] | ||
== View surrounding documents | ||
|
||
Once you've narrowed your search to a specific event in *Discover*, | ||
you can inspect the documents that occurred | ||
immediately before and after the event. | ||
To view the surrounding documents, your index pattern must contain time-based events. | ||
|
||
. In the document table, click the expand icon (>). | ||
. Click *View surrounding documents.* | ||
+ | ||
In the context view, documents are sorted by the time field specified in the index pattern | ||
and displayed using the same set of columns as the *Discover* view from which | ||
the context was opened. The anchor document is highlighted in blue. | ||
+ | ||
[role="screenshot"] | ||
image::images/discover-context.png[Image showing context view feature, with anchor documents highlighted in blue] | ||
+ | ||
The filters you applied in *Discover* are carried over to the context view. Pinned | ||
filters remain active, while normal filters are copied in a disabled state. | ||
|
||
+ | ||
[role="screenshot"] | ||
image::images/discover-context-filters-inactive.png[Filter in context view] | ||
|
||
. To find the documents of interest, add filters. | ||
|
||
. To increase the number of documents that surround the anchor document, click *Load*. | ||
By default, five documents are added with each click. | ||
+ | ||
[role="screenshot"] | ||
image::images/discover-context-load-newer-documents.png[Load button and the number of documents to load] | ||
|
||
|
||
[float] | ||
[[configure-context-ContextView]] | ||
=== Configure the context view | ||
|
||
Configure the appearance and behavior in *Advanced Settings*. | ||
|
||
. Open the main menu, then click *Stack Management > Advanced Settings*. | ||
. Search for `context`, then edit the settings. | ||
+ | ||
[horizontal] | ||
`context:defaultSize`:: The number of documents to display by default. | ||
`context:step`:: The default number of documents to load with each button click. The default is 5. | ||
`context:tieBreakerFields`:: The field to use for tiebreaking in case of equal time field values. | ||
The default is the `_doc` field. | ||
+ | ||
You can enter a comma-separated list of field | ||
names, which is checked in sequence for suitability when a context is | ||
displayed. The first suitable field is used as the tiebreaking | ||
field. A field is suitable if the field exists and is sortable in the index | ||
pattern the context is based on. | ||
+ | ||
Although not required, it is recommended to only | ||
use fields that have {ref}/doc-values.html[doc values] enabled to achieve | ||
good performance and avoid unnecessary {ref}/modules-fielddata.html[field | ||
data] usage. Common examples for suitable fields include log line numbers, | ||
monotonically increasing counters and high-precision timestamps. |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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