Skip to content

Commit 29e5327

Browse files
Merge pull request #63 from SAP/fix/documentation
Add tenant_subdomain documentation
2 parents 44790bd + b4df5de commit 29e5327

File tree

6 files changed

+42
-0
lines changed

6 files changed

+42
-0
lines changed

cf-java-logging-support-core/beats/app-logs/docs/fields.asciidoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,15 @@ required: False
100100
A unique identifier that can be used to correlate multiple messages to a tenant.
101101

102102

103+
==== tenant_subdomain
104+
105+
example: acme-inc
106+
107+
required: False
108+
109+
A unique identifier that represents the subdomain of the current tenant specific request url, e.g. acme-inc in https://acme-inc.eu10.cloud.alm.sap/home
110+
111+
103112
==== component_id
104113

105114
type: string

cf-java-logging-support-core/beats/app-logs/etc/app-logs.template.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@
113113
"index": "not_analyzed",
114114
"type": "string"
115115
},
116+
"tenant_subdomain": {
117+
"doc_values": true,
118+
"index": "not_analyzed",
119+
"type": "string"
120+
},
116121
"thread": {
117122
"doc_values": true,
118123
"index": "not_analyzed",

cf-java-logging-support-core/beats/app-logs/etc/fields.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@ ctx:
8383
description: |
8484
A unique identifier that can be used to correlate multiple messages to a tenant.
8585
86+
- name: "tenant_subdomain"
87+
string: string
88+
required: false
89+
example: "acme-inc"
90+
description: |
91+
A unique identifier that represents the subdomain of the current tenant specific request url, e.g. acme-inc in https://acme-inc.eu10.cloud.alm.sap/home
92+
8693
- name: "component_id"
8794
type: string
8895
required: true

cf-java-logging-support-core/beats/request-metrics/docs/fields.asciidoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,15 @@ required: False
109109
A unique identifier that can be used to correlate multiple messages to a tenant.
110110

111111

112+
==== tenant_subdomain
113+
114+
example: acme-inc
115+
116+
required: False
117+
118+
A unique identifier that represents the subdomain of the current tenant specific request url, e.g. acme-inc in https://acme-inc.eu10.cloud.alm.sap/home
119+
120+
112121
==== component_id
113122

114123
type: string

cf-java-logging-support-core/beats/request-metrics/etc/fields.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,13 @@ ctx:
9292
description: |
9393
A unique identifier that can be used to correlate multiple messages to a tenant.
9494
95+
- name: "tenant_subdomain"
96+
string: string
97+
required: false
98+
example: "acme-inc"
99+
description: |
100+
A unique identifier that represents the subdomain of the current tenant specific request url, e.g. acme-inc in https://acme-inc.eu10.cloud.alm.sap/home
101+
95102
- name: "component_id"
96103
type: string
97104
required: true

cf-java-logging-support-core/beats/request-metrics/etc/request-metrics.template.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,11 @@
183183
"index": "not_analyzed",
184184
"type": "string"
185185
},
186+
"tenant_subdomain": {
187+
"doc_values": true,
188+
"index": "not_analyzed",
189+
"type": "string"
190+
},
186191
"timestamp": {
187192
"doc_values": true,
188193
"ignore_malformed": true,

0 commit comments

Comments
 (0)