opensearch-project / OpenSearch-Dashboards

📊 Open source visualization dashboards for OpenSearch.
https://opensearch.org/docs/latest/dashboards/index/
Apache License 2.0
1.61k stars 827 forks source link

Configuration to disable "Add sample data" option #6844

Open ArielGMachado opened 1 month ago

ArielGMachado commented 1 month ago

Hi, is there any option in OpenSearch Dashboards to disable the Add sample data for production environments? We have version 2.13.0 and I didn't find any option like that in the advanced settings of Dashboard Management.

A proposal, according to Josh Romero OpenSearch Dashboards maintainer via Slack channel: "That’s a good question… I was thinking it was maybe possible via the configuration file, but looking at the config for the home plugin (which handles the sample data service), it doesn’t look like there’s currently an option to disable: https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/src/plugins/home/config.ts Adding such a toggle isn’t necessarily a huge amount of work, though, if you want to open an issue or PR."

kavilla commented 1 month ago

Hello @ArielGMachado, thanks for opening. And yeah @joshuarrrr is right, I'm surprised there wasn't any config value.

Would you be interesting in contributing to this? We can totally assist you with in questions and help through the process.

Places the work would involve:

Lemme know if you are interested and I can assign you to this ticket.