diff options
author | Harald Musum <musum@oath.com> | 2017-08-28 17:21:58 +0200 |
---|---|---|
committer | Arne Juul <arnej@yahoo-inc.com> | 2017-10-05 06:25:32 +0000 |
commit | f63292744237def528761fc0bcd38398e95ddb6d (patch) | |
tree | e477b1b7ad066f95e8172dc58dbb216117ce9561 /config-model | |
parent | e69f8c07bf16acc8e59f2a5f836bfe7d03601553 (diff) |
Add schema for logforwarding
* Add support for version 2 and 4 (version 3 is not used)
Diffstat (limited to 'config-model')
-rw-r--r-- | config-model/src/main/resources/schema/admin.rnc | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/config-model/src/main/resources/schema/admin.rnc b/config-model/src/main/resources/schema/admin.rnc index 26705784a34..93807e985f0 100644 --- a/config-model/src/main/resources/schema/admin.rnc +++ b/config-model/src/main/resources/schema/admin.rnc @@ -13,7 +13,8 @@ AdminV2 = AdminSlobroks? & (LegacyAdminMonitoring | AdminMonitoring)? & (LegacyMetricConsumers | Metrics)? & - ClusterControllers? + ClusterControllers? & + LogForwarding? } AdminV3 = @@ -32,7 +33,8 @@ AdminV4 = AdminV4LogServers? & GenericConfig* & (LegacyAdminMonitoring | AdminMonitoring)? & - (LegacyMetricConsumers | Metrics)? + (LegacyMetricConsumers | Metrics)? & + LogForwarding? } AdminV4Slobroks = @@ -112,3 +114,17 @@ ClusterControllers = element cluster-controllers { service.attlist }+ } + +LogForwarding = element logforwarding { + element forward { + attribute type {xsd:string } & + element source { + element log { "access"| "vespa" }+ + } & + element destination { + element endpoint { xsd:string } & + element index { xsd:string } # TODO: Mandatory or with a default value? + } + }+ + +}
\ No newline at end of file |