This adds the new source configuration ui to the documentation of both the Infrastructure UI and the Logs UI. It also removes the `BETA` badge to reflect the status change. fixes elastic/kibana#31124 Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>
72 lines
2.4 KiB
Text
72 lines
2.4 KiB
Text
[role="xpack"]
|
|
[[xpack-logs]]
|
|
= Logs
|
|
|
|
[partintro]
|
|
--
|
|
|
|
Use the Logs UI to explore logs for common servers, containers, and services.
|
|
{kib} provides a compact, console-like display that you can customize.
|
|
|
|
[role="screenshot"]
|
|
image::logs/images/logs-console.png[Log Console in Kibana]
|
|
|
|
|
|
[float]
|
|
== Add data
|
|
|
|
Kibana provides step-by-step instructions to help you add log data. The
|
|
{infra-guide}[Infrastructure Monitoring Guide] is a good source for more
|
|
detailed information and instructions.
|
|
|
|
[float]
|
|
== Configure data sources
|
|
|
|
The `filebeat-*` index pattern is used to query data by default.
|
|
If your logs are located in a different set of indices, or use a different
|
|
timestamp field, you can adjust the source configuration via the user interface
|
|
or the {kib} configuration file.
|
|
|
|
NOTE: Logs and Infrastructure share a common data source definition in
|
|
each space. Changes in one of them can influence the data displayed in the
|
|
other.
|
|
|
|
[float]
|
|
=== Configure source
|
|
|
|
Configure source can be accessed via the corresponding
|
|
image:logs/images/logs-configure-source-gear-icon.png[Configure source icon]
|
|
button in the toolbar.
|
|
|
|
[role="screenshot"]
|
|
image::logs/images/logs-configure-source.png[Configure Logs UI source button in Kibana]
|
|
|
|
This opens the source configuration fly-out dialog, in which the following
|
|
configuration items can be inspected and adjusted:
|
|
|
|
* *Name*: The name of the source configuration.
|
|
* *Indices*: The patterns of the elasticsearch indices to read metrics and logs
|
|
from.
|
|
* *Fields*: The names of particular fields in the indices that need to be known
|
|
to the Infrastructure and Logs UIs in order to query and interpret the data
|
|
correctly.
|
|
|
|
[role="screenshot"]
|
|
image::logs/images/logs-configure-source-dialog.png[Configure logs UI source dialog in Kibana]
|
|
|
|
TIP: If <<xpack-spaces>> are enabled in your Kibana instance, any configuration
|
|
changes performed via Configure source are specific to that space. You can
|
|
therefore easily make different subsets of the data available by creating
|
|
multiple spaces with different data source configurations.
|
|
|
|
[float]
|
|
=== Configuration file
|
|
|
|
The settings in the configuration file are used as a fallback when no other
|
|
configuration for that space has been defined. They are located in the
|
|
configuration namespace `xpack.infra.sources.default`. See
|
|
<<logs-ui-settings-kb>> for a complete list of the possible entries.
|
|
|
|
--
|
|
|
|
include::logs-ui.asciidoc[]
|