How to conigured the sharding interval and queries number?

Hi,

According to https://grafana.com/docs/loki/latest/getting-started/labels/#optimal-loki-performance-with-parallelization, it says “The size of those shards and the amount of parallelization is configurable and based on the resources you provision. If you want to, you can configure the shard interval down to 5m, deploy 20 queriers, and process gigabytes of logs in seconds. Or you can go crazy and provision 200 queriers and process terabytes of logs!”.

May I know which specific parameter to modify in the configuration file?