elastic / package-spec

EPR package specifications
Other
17 stars 70 forks source link

[Change Proposal] Support packages with many fields #758

Open jsoriano opened 2 months ago

jsoriano commented 2 months ago

There are packages that contain an increasing number of fields on each version. These packages will hit at some point the 2048 limit per data stream we have now. An example is the amazon_security_lake package, that includes many fields from OCSF.

This, and other limits, exist to have some control on the size of the packages on different dimensions. In the case of data stream fields, this limit exists to avoid performance issues or other problems with indexes that have too many field mappings. See for example the warning about this in the Elasticsearch documentation (Mapping Limits docs).

The total number of fields in a data stream (including dynamic mappings) can be configured in the data stream manifest (elasticsearch.index_template.settings.index.mappings.total_fields).

Some options to explore:

cc @mrodm @kpollich @ShourieG for thoughts about possible approaches.