Is there any way to get CreateIndex?

Hi everyone

is there a way to get StackName_ServiceName_CreateIndex ?
something like {stack_name}/{service_name}/{create_index} I try to manipulate create_index to locate the container on a host with some label, something like container with {create_index}==1 schedule to host_label=1