How to set the "Index name" of the data source settings by variables

Hello dear friends
can anyone tell me please if it possible to define a variable and then use it in the “index name” ?