|
73 | 73 | "required": false,
|
74 | 74 | "url": "https://www.elastic.co/guide/en/ecs/current/ecs-event.html",
|
75 | 75 | "default": "${service.name}.log OR ${service.name}.${appender.name}",
|
| 76 | + "sanitization": { |
| 77 | + "value": { |
| 78 | + "replacements": ["\\", "/", "*", "?", "\"", "<", ">", "|", " ", ",", "#", ":", "-"], |
| 79 | + "substitute": "_", |
| 80 | + "max_chars": 100, |
| 81 | + "lower_case": true |
| 82 | + } |
| 83 | + }, |
76 | 84 | "comment": [
|
77 | 85 | "Configurable by users.",
|
78 | 86 | "If the user manually configures the service name,",
|
|
84 | 92 | "",
|
85 | 93 | "The field helps to filter for different log streams from the same pod, for example and is required for log anomaly detection.",
|
86 | 94 | "",
|
87 |
| - "Should have the same value as `data_stream.dataset`.", |
88 |
| - "", |
89 |
| - "In 8.0, `event.dataset` will be removed in favor of `data_stream.dataset`." |
| 95 | + "Must be in sync with `data_stream.dataset`." |
90 | 96 | ]
|
91 | 97 | },
|
92 | 98 | "data_stream.dataset": {
|
93 | 99 | "type": "string",
|
94 | 100 | "required": false,
|
95 |
| - "url": "https://github.com/elastic/ecs/pull/1145", |
| 101 | + "url": "https://github.com/elastic/ecs/blob/master/rfcs/text/0009-data_stream-fields.md", |
96 | 102 | "default": "${service.name}.log OR ${service.name}.${appender.name}",
|
97 | 103 | "sanitization": {
|
98 | 104 | "value": {
|
99 |
| - "replacements": ["\\", "/", "*", "?", "\"", "<", ">", "|", " ", "-"], |
| 105 | + "replacements": ["\\", "/", "*", "?", "\"", "<", ">", "|", " ", ",", "#", ":", "-"], |
100 | 106 | "substitute": "_",
|
101 |
| - "max_chars": 100 |
| 107 | + "max_chars": 100, |
| 108 | + "lower_case": true |
102 | 109 | }
|
103 | 110 | },
|
104 | 111 | "comment": [
|
105 | 112 | "Configurable by users.",
|
106 | 113 | "Influences which data stream the logs will be stored in (`logs-{data_stream.dataset}-{data_stream.namespace}`)",
|
107 | 114 | "If unspecified, Filebeat will set the value to `generic`.",
|
108 | 115 | "",
|
109 |
| - "Should have the same value as `event.dataset`." |
| 116 | + "Must be in sync with `event.dataset`." |
110 | 117 | ]
|
111 | 118 | },
|
112 | 119 | "data_stream.namespace": {
|
|
116 | 123 | "default": null,
|
117 | 124 | "sanitization": {
|
118 | 125 | "value": {
|
119 |
| - "replacements": ["\\", "/", "*", "?", "\"", "<", ">", "|", " "], |
| 126 | + "replacements": ["\\", "/", "*", "?", "\"", "<", ">", "|", " ", ",", "#", ":"], |
120 | 127 | "substitute": "_",
|
121 |
| - "max_chars": 100 |
| 128 | + "max_chars": 100, |
| 129 | + "lower_case": true |
122 | 130 | }
|
123 | 131 | },
|
124 | 132 | "comment": [
|
125 | 133 | "Configurable by users.",
|
126 | 134 | "Influences which data stream the logs will be stored in (`logs-{data_stream.dataset}-{data_stream.namespace}`)",
|
127 | 135 | "If unspecified, Filebeat will set the value to `default`.",
|
128 | 136 | "",
|
129 |
| - "Should have the same value as `event.dataset`." |
| 137 | + "Must be in sync with `data_stream.dataset`." |
130 | 138 | ]
|
131 | 139 | },
|
132 | 140 | "process.thread.name": {
|
|
0 commit comments