Add support for es_index_prefix for monolith.