Shorten indexName and shardId for logging messages