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 `template.json`, the `mappings` object is left empty: `{}`. Likewise the `properties` object remains empty in the `mapping.json` example. This will be filled in automatically by the script.
297
298
299
+
#### OSS
300
+
301
+
**IMPORTANT**: This feature is unnecessary for most users. Our default free distribution
302
+
comes with the Elastic Basic license, and supports all data types used by ECS.
303
+
Learn more about our licenses [here](https://www.elastic.co/subscriptions).
304
+
305
+
Users that want to use the open source version of Elasticsearch do not have access to the basic data types.
306
+
However some of these types have an OSS replacement that can be used instead, without too much loss of functionality.
307
+
308
+
This flag performs a best effort fallback, replacing basic data types with their OSS replacement.
309
+
310
+
Indices using purely OSS types will benefit from the normalization of ECS, but may be missing on some of the added functionality of these basic types.
311
+
312
+
Current fallbacks applied by this flag are:
313
+
314
+
-`wildcard` => `keyword`
315
+
-`version` => `keyword`
316
+
317
+
Usage:
318
+
319
+
```
320
+
$ python scripts/generator.py --oss
321
+
```
322
+
298
323
#### Strict Mode
299
324
300
325
The `--strict` argument enables "strict mode". Strict mode performs a stricter validation step against the schema's contents.
301
326
302
327
Basic usage:
303
328
304
329
```
305
-
$ python/generator.py --strict
330
+
$ python scripts/generator.py --strict
306
331
```
307
332
308
333
Strict mode requires the following conditions, else the script exits on an exception:
0 commit comments