API Gateway 10.11 | Administering API Gateway | API Gateway Configuration with Command Central | Manage API Data Store Configurations in Command Central | Administering API Data Store | Configuring Elasticsearch Properties using Template
 
Configuring Elasticsearch Properties using Template
You can configure the Elasticsearch properties using the following Command Central template:
sagcc exec templates composite import -i properties.yaml (properties.yaml)
sagcc exec templates composite apply sag-apigw-datastore-properties nodes=local
Sample template:
alias: sag-apigw-datastore-properties
description: API Gateway Data Store Properties

layers:
runtime:
templates:
- apigw-datastore-properties

templates:
apigw-datastore-properties:
products:
CEL:
default:
configuration:
CEL:
CUSTOM-PROPERTIES:
CUSTOM-PROPERTIES-default: |
---
path.logs: "C:\\sag\\cc\\InternalDataStore/newlogs"
path.repo:
- "C:\\sag\\cc\\InternalDataStore/archives"
cluster.initial_master_nodes:
- "nodename"

provision:
default:
runtime: ${nodes}