There are two ways to configure the Elasticsearch Publisher:
Configure the Elasticsearch Publisher using the Aspire Rest API
Configure the Elasticsearch Publisher using the Aspire Admin API