Benjamin
Benjamin

Reputation: 574

"SHOW VARIABLES" query in elasticsearch

Is there a way to query the list of effective configuration variables (defaults + configured values) just like a "SHOW VARIABLES" statement in MySQL?

Upvotes: 0

Views: 218

Answers (1)

Michele Palmia
Michele Palmia

Reputation: 2462

The _settings endpoint provides a simple way to retrieve the customized configuration for a given index.

Mapping defaults can only be printed for specific fields calling

GET /index/_mapping/type/field/content?include_defaults=true

where index, type and content have to be replaced with the relevant names.

Upvotes: 1

Related Questions