Skip to content

Commit aa4bde7

Browse files
authored
Merge pull request #52 from JannikBrand/fix/drain-data-parameter
fix: correct syslog drain URL parameter from drain-type to drain-data
2 parents bee1ef3 + 510c1d5 commit aa4bde7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/ingest-from-cloud-foundry-runtime-f5a7c99.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ For more information about different contexts, tools, options, and best practice
103103
To create a user-provided service, use the following template, filled with the values from the previous step and a <user-provided-service-name> of your choice:
104104
105105
```bash
106-
cf cups <user-provided-service-name> -l https-batch://<ingest-username>:<ingest-password>@<ingest-endpoint>/cfsyslog?drain-type=all
106+
cf cups <user-provided-service-name> -l https-batch://<ingest-username>:<ingest-password>@<ingest-endpoint>/cfsyslog?drain-data=all
107107
```
108108
109109
b) mtls-enabled configuration:
@@ -135,7 +135,7 @@ For more information about different contexts, tools, options, and best practice
135135
3. Create the mTLS-enabled user-provided service:
136136
```bash
137137
cf cups <user-provided-service-name> \
138-
-l "https-batch://<ingest-username>:<ingest-password>@<ingest-mtls-endpoint>/cfsyslog?drain-type=all" \
138+
-l "https-batch://<ingest-username>:<ingest-password>@<ingest-mtls-endpoint>/cfsyslog?drain-data=all" \
139139
-p credentials.json
140140
```
141141
@@ -147,7 +147,7 @@ For more information about different contexts, tools, options, and best practice
147147
2. Create a service key according to [Creating Service Keys in Cloud Foundry](https://help.sap.com/viewer/09cc82baadc542a688176dce601398de/Cloud/en-US/6fcac08409db4b0f9ad55a6acd4d31c5.html).
148148
3. Create a User-Provided Service following [Creating User-Provided Service Instances in Cloud Foundry Environment](https://help.sap.com/docs/service-manager/sap-service-manager/creating-user-provided-service-instances-in-cloud-foundry-environment) using `Instance Name` of your choice and the information from the the service key to configure `System Logs Drain URL`:
149149
```
150-
https-batch://<ingest-username>:<ingest-password>@<ingest-endpoint>/cfsyslog?drain-type=all
150+
https-batch://<ingest-username>:<ingest-password>@<ingest-endpoint>/cfsyslog?drain-data=all
151151
```
152152
4. Proceed with [Bind the Application to the Service Instance](ingest-from-cloud-foundry-runtime-f5a7c99.md#loiof5a7c993743c4ee79722479371b90b37__bind_the_application) and bind to the user provided service.
153153

0 commit comments

Comments
 (0)