Let the platform do the work

/Administration/elasticsearch/routing GET

Overview

[ADMIN] Elasticsearch index routing

Summary

This endpoint returns an overview of the current read and write indices per module. This routing information is based on the configured index routing strategies and the index configuration per module. Note that this output shows the default routing only as no context is available to determine dynamic routing strategies. This endpoint is only available to administrators.

Response

{
    "Contacts":{
        "strategy":"static",
        "routing":{
            "write_index":"autobr2583_contacts",
            "read_indices":[
                "autobr2583_contacts"
            ]
        }
    },
    "Accounts":{
        "strategy":"static",
        "routing":{
            "write_index":"autobr2583_shared",
            "read_indices":[
                "autobr2583_shared"
            ]
        }
    },
    "Emails":{
        "strategy":"rolling",
        "routing":{
            "write_index":"autobr2583_emails_201503",
            "read_indices":[
                "autobr2583_emails_201503",
                "autobr2583_emails_201502",
                "autobr2583_emails_201501"
            ]
        }
    }
}

Change Log

Version Change
v10 Added /Administration/elasticsearch/routing GET endpoint.