summaryrefslogtreecommitdiffstats
path: root/component-json-schemas/component-specification/dcae-cli-v1/component-spec-schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'component-json-schemas/component-specification/dcae-cli-v1/component-spec-schema.json')
-rw-r--r--component-json-schemas/component-specification/dcae-cli-v1/component-spec-schema.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/component-json-schemas/component-specification/dcae-cli-v1/component-spec-schema.json b/component-json-schemas/component-specification/dcae-cli-v1/component-spec-schema.json
index 27d0403..46c2a2a 100644
--- a/component-json-schemas/component-specification/dcae-cli-v1/component-spec-schema.json
+++ b/component-json-schemas/component-specification/dcae-cli-v1/component-spec-schema.json
@@ -646,6 +646,21 @@
"items": {
"type": "string"
}
+ },
+ "logging": {
+ "description": "Component specific details for logging",
+ "type": "object",
+ "properties": {
+ "log_directory": {
+ "description": "The path in the container where the component writes its logs. If the component is following the EELF requirements, this would be the directory where the four EELF files are being written. (Other logs can be placed in the directory--if their names in '.log', they'll also be sent into ELK.)",
+ "type": "string"
+ },
+ "alternate_fb_path": {
+ "description": "By default, the log volume is mounted at /var/log/onap/<component_type> in the sidecar container's file system. 'alternate_fb_path' allows overriding the default. Will affect how the log data can be found in the ELK system.",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
}
},
"required": [