Currently, the analyzeShardKey and configureQueryAnalyzer commands cannot be run against a view. That includes timeseries collections since a timeseries collection is a writable non-materialized view of an internal bucket collection. SERVER-78594 will make timeseries collections support these commands.