Description
Currently we allow to include a sample document that is used for documentation purposes. The proposal would be to include more sample data in packages.
This data could be stored in packages in a directory as ndjson files. This data wouldn't be installed by default, but Kibana/Fleet or other tools could make use of this custom data.
To avoid it increasing too much the size of packages, an alternative could be to include this custom data in a new dataset type of package (as the one proposed in #346), that could include some reference to other packages. So if a user or feature needs sample data for apache, dataset packages containing this data could be automatically discovered.
elastic-package
could include some tool to export data in the expected format.
This sample data could be used for:
- Testing custom pipelines and mappings before having real data.
- Trying dashboards before having real data.
- Developers could use it to try dashboards ([Feature Request] Adding flag to run system tests without cleanup elastic-package#582).
- Backwards compatibility tests (Add assistance to detect common backwards compatibilty issues elastic-package#579).