How to set index name configuration

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

Describe the issue:
When I connect grafana to OpenSearch, I can config the index name (see screenshot). How can I configure the index name in opensearch dashboard? I use ovh and I have to config index like alias otherwise I receive a forbidden error. What env var set OPENSEARCH INDEX NAME ?
I want to run something like this:
docker run -p 5601:5601 -e “OPENSEARCH_HOSTS=" -e "OPENSEARCH_USERNAME=" -e "OPENSEARCH_PASSWORD=" -e "OPENSEARCH_INDEXES=logs-*-a-logs” opensearchproject/opensearch-dashboards:1.3.12

Relevant Logs or Screenshots:

Hey @scs

Have you tried to create a index template? Before I send logs I configure that with alias and shard count. If you have the index already you could try to reindex your index set.