You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For all options other than `off`, the [log correlation](log-correlation.md) should be implicitly enabled.
40
-
### Required fields
40
+
41
+
## `log_ecs_formatter_allow_list` configuration
42
+
43
+
Only formatters that match an item on this list will be automatically reformatted to ECS when `log_ecs_formatting` is
44
+
set to any option other than `off`. A "formatter" is a generic name used to describe the logging-framework-specific entity
45
+
that is responsible for the formatting of log events. Currently this option is only implemented in the Java agent, where
46
+
formatters are subtypes of `Layout` or `Encoder`, depending on the logging framework.
47
+
48
+
|||
49
+
|----------------|---|
50
+
| Type |`List<`[`WildcardMatcher`](../../tests/agents/json-specs/wildcard_matcher_tests.json)`>`|
51
+
| Default | agent specific |
52
+
| Dynamic |`false`|
53
+
| Central config |`false`|
54
+
55
+
## Required fields
41
56
42
57
The following fields are required:
43
58
@@ -46,12 +61,12 @@ The following fields are required:
46
61
*`message`
47
62
*`ecs.version`
48
63
49
-
###Recommended fields
64
+
## Recommended fields
50
65
51
66
The following fields are important for a good user experience in Kibana,
52
67
but will not cause errors if they are omitted:
53
68
54
-
####`service.name`
69
+
### `service.name`
55
70
56
71
Agents should always populate `service.name` even if there is not an active
57
72
transaction.
@@ -60,7 +75,7 @@ The `service.name` is used to be able to add a logs tab to the service view in
60
75
the UI. This lets users quickly get a stream of all logs for a particular
61
76
service.
62
77
63
-
####`event.dataset`
78
+
### `event.dataset`
64
79
65
80
The `event.dataset` field is used to power the [log anomaly chart in the logs UI](https://www.elastic.co/guide/en/observability/current/inspect-log-anomalies.html#anomalies-chart).
66
81
The dataset can also be useful to filter for different log streams from the same pod, for example.
0 commit comments