Skip to content

Commit 348bcd1

Browse files
maycmleeburaizu
andauthored
Move OP source shortcodes to main doc (#33275)
* move shortcodes * Apply suggestions from code review Co-authored-by: Bryce Eadie <[email protected]> * Fix link --------- Co-authored-by: Bryce Eadie <[email protected]>
1 parent 2007486 commit 348bcd1

File tree

13 files changed

+135
-20
lines changed

13 files changed

+135
-20
lines changed

content/en/observability_pipelines/sources/amazon_data_firehose.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@ Use Observability Pipelines' Amazon Data Firehose source to receive logs from Am
1313

1414
Select and set up this source when you [set up a pipeline][1]. The information below is for the source settings in the pipeline UI.
1515

16-
{{% observability_pipelines/source_settings/amazon_data_firehose %}}
16+
1. Optionally, select an AWS authentication option. If you select **Assume role**:
17+
1. Enter the ARN of the IAM role you want to assume.
18+
1. Optionally, enter the assumed role session name and external ID.
19+
1. Optionally, toggle the switch to enable TLS. If you enable TLS, the following certificate and key files are required.<br>**Note**: All file paths are made relative to the configuration data directory, which is `/var/lib/observability-pipelines-worker/config/` by default. See [Advanced Worker Configurations][2] for more information. The file must be owned by the `observability-pipelines-worker group` and `observability-pipelines-worker` user, or at least readable by the group or user.
20+
- `Server Certificate Path`: The path to the certificate file that has been signed by your Certificate Authority (CA) Root File in DER or PEM (X.509).
21+
- `CA Certificate Path`: The path to the certificate file that is your Certificate Authority (CA) Root File in DER or PEM (X.509).
22+
- `Private Key Path`: The path to the `.key` private key file that belongs to your Server Certificate Path in DER or PEM (PKCS#8) format.
1723

1824
## Set the environment variables
1925

@@ -31,4 +37,5 @@ Select and set up this source when you [set up a pipeline][1]. The information b
3137

3238
{{% observability_pipelines/aws_authentication/amazon_s3_source/permissions %}}
3339

34-
[1]: /observability_pipelines/configuration/set_up_pipelines/
40+
[1]: /observability_pipelines/configuration/set_up_pipelines/
41+
[2]: /observability_pipelines/configuration/install_the_worker/advanced_worker_configurations/

content/en/observability_pipelines/sources/amazon_s3.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,14 @@ Use Observability Pipelines' Amazon S3 source to receive logs from Amazon S3. Se
1313

1414
Select and set up this source when you [set up a pipeline][1]. The information below is for the source settings in the pipeline UI.
1515

16-
{{% observability_pipelines/source_settings/amazon_s3 %}}
16+
1. Enter the AWS region.
17+
1. Optionally, select an AWS authentication option. If you select **Assume role**:
18+
1. Enter the ARN of the IAM role you want to assume.
19+
1. Optionally, enter the assumed role session name and external ID.
20+
1. Optionally, toggle the switch to enable TLS. If you enable TLS, the following certificate and key files are required.<br>**Note**: All file paths are made relative to the configuration data directory, which is `/var/lib/observability-pipelines-worker/config/` by default. See [Advanced Worker Configurations][2] for more information. The file must be owned by the `observability-pipelines-worker group` and `observability-pipelines-worker` user, or at least readable by the group or user.
21+
- `Server Certificate Path`: The path to the certificate file that has been signed by your Certificate Authority (CA) Root File in DER or PEM (X.509).
22+
- `CA Certificate Path`: The path to the certificate file that is your Certificate Authority (CA) Root File in DER or PEM (X.509).
23+
- `Private Key Path`: The path to the `.key` private key file that belongs to your Server Certificate Path in DER or PEM (PKCS#8) format.
1724

1825
## Set the environment variables
1926

@@ -28,4 +35,5 @@ Select and set up this source when you [set up a pipeline][1]. The information b
2835
{{% observability_pipelines/aws_authentication/amazon_s3_source/permissions %}}
2936

3037

31-
[1]: /observability_pipelines/configuration/set_up_pipelines/
38+
[1]: /observability_pipelines/configuration/set_up_pipelines/
39+
[2]: /observability_pipelines/configuration/install_the_worker/advanced_worker_configurations/

content/en/observability_pipelines/sources/fluent.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ Use Observability Pipelines' Fluentd or Fluent Bit source to receive logs from t
1313

1414
Select and set up this source when you [set up a pipeline][1]. The information below are for the source settings in the pipeline UI.
1515

16-
{{% observability_pipelines/source_settings/fluent %}}
16+
Optionally, toggle the switch to enable TLS. If you enable TLS, the following certificate and key files are required.<br>**Note**: All file paths are made relative to the configuration data directory, which is `/var/lib/observability-pipelines-worker/config/` by default. See [Advanced Worker Configurations][2] for more information. The file must be owned by the `observability-pipelines-worker group` and `observability-pipelines-worker` user, or at least readable by the group or user.
17+
- `Server Certificate Path`: The path to the certificate file that has been signed by your Certificate Authority (CA) Root File in DER or PEM (X.509) format.
18+
- `CA Certificate Path`: The path to the certificate file that is your Certificate Authority (CA) Root File in DER or PEM (X.509) format.
19+
- `Private Key Path`: The path to the `.key` private key file that belongs to your Server Certificate Path in DER or PEM (PKCS#8) format.
1720

1821
## Set the environment variables
1922

@@ -23,4 +26,5 @@ Select and set up this source when you [set up a pipeline][1]. The information b
2326

2427
{{% observability_pipelines/log_source_configuration/fluent %}}
2528

26-
[1]: /observability_pipelines/configuration/set_up_pipelines/
29+
[1]: /observability_pipelines/configuration/set_up_pipelines/
30+
[2]: /observability_pipelines/configuration/install_the_worker/advanced_worker_configurations/

content/en/observability_pipelines/sources/google_pubsub.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,22 @@ Use Observability Pipelines' Google Pub/Sub source to pull logs from the Google
1313

1414
Select and set up this source when you [set up a pipeline][1]. The information below is for the source settings in the pipeline UI.
1515

16-
{{% observability_pipelines/source_settings/google_pubsub %}}
16+
1. Enter the name of the source project.
17+
1. If you have a credentials JSON file, enter the path to your credentials JSON file. The credentials file must be placed under `DD_OP_DATA_DIR/config`. Alternatively, you can use the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to provide the credential path.
18+
- If you're using [workload identity][2] on Google Kubernetes Engine (GKE), the `GOOGLE_APPLICATION_CREDENTIALS` is provided for you.
19+
- The Worker uses standard [Google authentication methods][4].
20+
1. Enter the subscription name.
21+
1. Select the decoder you want to use (Bytes, GELF, JSON, syslog).
22+
1. Optionally, toggle the switch to enable TLS. If you enable TLS, the following certificate and key files are required.<br>**Note**: All file paths are made relative to the configuration data directory, which is `/var/lib/observability-pipelines-worker/config/` by default. See [Advanced Worker Configurations][3] for more information. The file must be owned by the `observability-pipelines-worker group` and `observability-pipelines-worker` user, or at least readable by the group or user.
23+
- `Server Certificate Path`: The path to the certificate file that has been signed by your Certificate Authority (CA) Root File in DER or PEM (X.509).
24+
- `CA Certificate Path`: The path to the certificate file that is your Certificate Authority (CA) Root File in DER or PEM (X.509).
25+
- `Private Key Path`: The path to the `.key` private key file that belongs to your Server Certificate Path in DER or PEM (PKCS #8) format.
1726

1827
## Set the environment variables
1928

2029
{{% observability_pipelines/configure_existing_pipelines/source_env_vars/google_pubsub %}}
2130

22-
[1]: /observability_pipelines/configuration/set_up_pipelines/
31+
[1]: /observability_pipelines/configuration/set_up_pipelines/
32+
[2]: https://cloud.google.com/kubernetes-engine/docs/concepts/workload-identity
33+
[3]: /observability_pipelines/configuration/install_the_worker/advanced_worker_configurations/
34+
[4]: https://cloud.google.com/docs/authentication#auth-flowchart

content/en/observability_pipelines/sources/http_client.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,22 @@ Use Observability Pipelines' HTTP/S Client source to pull logs from the upstream
1313

1414
Select and set up this source when you [set up a pipeline][1]. The information below is for the source settings in the pipeline UI.
1515

16-
{{% observability_pipelines/source_settings/http_client %}}
16+
To configure your HTTP/S Client source:
17+
18+
1. Select your authorization strategy.
19+
2. Select the decoder you want to use on the HTTP messages. Logs pulled from the HTTP source must be in this format.
20+
3. Optionally, toggle the switch to enable TLS. If you enable TLS, the following certificate and key files are required.<br>**Note**: All file paths are made relative to the configuration data directory, which is `/var/lib/observability-pipelines-worker/config/` by default. See [Advanced Worker Configurations][2] for more information. The file must be owned by the `observability-pipelines-worker group` and `observability-pipelines-worker` user, or at least readable by the group or user.
21+
- `Server Certificate Path`: The path to the certificate file that has been signed by your Certificate Authority (CA) Root File in DER or PEM (X.509) format.
22+
- `CA Certificate Path`: The path to the certificate file that is your Certificate Authority (CA) Root File in DER or PEM (X.509) format.
23+
- `Private Key Path`: The path to the `.key` private key file that belongs to your Server Certificate Path in DER or PEM (PKCS#8) format.
24+
4. Enter the interval between scrapes.
25+
- Your HTTP Server must be able to handle GET requests at this interval.
26+
- Since requests run concurrently, if a scrape takes longer than the interval given, a new scrape is started, which can consume extra resources. Set the timeout to a value lower than the scrape interval to prevent this from happening.
27+
5. Enter the timeout for each scrape request.
1728

1829
## Set the environment variables
1930

2031
{{% observability_pipelines/configure_existing_pipelines/source_env_vars/http_client %}}
2132

2233
[1]: /observability_pipelines/configuration/set_up_pipelines/
34+
[2]: /observability_pipelines/configuration/install_the_worker/advanced_worker_configurations/

content/en/observability_pipelines/sources/http_server.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,14 @@ You can also [send AWS vended logs with Datadog Lambda Forwarder to Observabilit
1515

1616
Select and set up this source when you [set up a pipeline][1]. The information below is for the source settings in the pipeline UI.
1717

18-
{{% observability_pipelines/source_settings/http_server %}}
18+
To configure your HTTP/S Server source, enter the following:
19+
20+
1. Select your authorization strategy.
21+
1. Select the decoder you want to use on the HTTP messages. Your HTTP client logs must be in this format. **Note**: If you select `bytes` decoding, the raw log is stored in the `message` field.
22+
1. Optionally, toggle the switch to enable TLS. If you enable TLS, the following certificate and key files are required.<br>**Note**: All file paths are made relative to the configuration data directory, which is `/var/lib/observability-pipelines-worker/config/` by default. See [Advanced Worker Configurations][2] for more information. The file must be owned by the `observability-pipelines-worker group` and `observability-pipelines-worker` user, or at least readable by the group or user.
23+
- `Server Certificate Path`: The path to the certificate file that has been signed by your Certificate Authority (CA) Root File in DER or PEM (X.509).
24+
- `CA Certificate Path`: The path to the certificate file that is your Certificate Authority (CA) Root File in DER or PEM (X.509).
25+
- `Private Key Path`: The path to the `.key` private key file that belongs to your Server Certificate Path in DER or PEM (PKCS #8) format.
1926

2027
## Set the environment variables
2128

@@ -39,3 +46,4 @@ To send AWS vended logs to Observability Pipelines with the HTTP/S Server source
3946
{{% observability_pipelines/lambda_forwarder/deploy_forwarder %}}
4047

4148
[1]: https://app.datadoghq.com/observability-pipelines
49+
[2]: /observability_pipelines/configuration/install_the_worker/advanced_worker_configurations/

content/en/observability_pipelines/sources/kafka.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,18 @@ You can also [send Azure Event Hub logs to Observability Pipelines using the Kaf
1515

1616
Select and set up this source when you [set up a pipeline][1]. The information below is for the source settings in the pipeline UI.
1717

18-
{{% observability_pipelines/source_settings/kafka %}}
18+
1. Enter the group ID.
19+
1. Enter the topic name. If there is more than one, click **Add Field** to add additional topics.
20+
1. Optionally, toggle the switch to enable SASL Authentication and select the mechanism (**PLAIN**, **SCHRAM-SHA-256**, or **SCHRAM-SHA-512**) in the dropdown menu.
21+
1. Optionally, toggle the switch to enable TLS. If you enable TLS, the following certificate and key files are required.<br>**Note**: All file paths are made relative to the configuration data directory, which is `/var/lib/observability-pipelines-worker/config/` by default. See [Advanced Worker Configurations][5] for more information. The file must be owned by the `observability-pipelines-worker group` and `observability-pipelines-worker` user, or at least readable by the group or user.
22+
- `Server Certificate Path`: The path to the certificate file that has been signed by your Certificate Authority (CA) Root File in DER or PEM (X.509).
23+
- `CA Certificate Path`: The path to the certificate file that is your Certificate Authority (CA) Root File in DER or PEM (X.509).
24+
- `Private Key Path`: The path to the `.key` private key file that belongs to your Server Certificate Path in DER or PEM (PKCS#8) format.
25+
1. Optionally, click **Advanced** and click **Add Option** to add additional [librdkafka options](#librdkafka-options).
26+
1. Select an option in the dropdown menu.
27+
1. Enter a value for that option.
28+
1. Check your values against the [librdkafka documentation][4] to make sure they have the correct type and are within the set range.
29+
1. Click **Add Option** to add another librdkafka option.
1930

2031
## Set the environment variables
2132

@@ -45,4 +56,6 @@ See the [librdkafka documentation][3] for more information and to ensure your va
4556

4657
[1]: /observability_pipelines/configuration/set_up_pipelines/
4758
[2]: https://github.com/confluentinc/librdkafka/tree/master
48-
[3]: https://docs.confluent.io/platform/current/clients/librdkafka/html/md_CONFIGURATION.html
59+
[3]: https://docs.confluent.io/platform/current/clients/librdkafka/html/md_CONFIGURATION.html
60+
[4]: https://docs.confluent.io/platform/current/clients/librdkafka/html/md_CONFIGURATION.html
61+
[5]: /observability_pipelines/configuration/install_the_worker/advanced_worker_configurations/

content/en/observability_pipelines/sources/logstash.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ You can also use the Logstash source to [send logs to Observability Pipelines us
1515

1616
Select and set up this source when you [set up a pipeline][1]. The information below is for the source settings in the pipeline UI.
1717

18-
{{% observability_pipelines/source_settings/logstash %}}
18+
Optionally, toggle the switch to enable TLS. If you enable TLS, the following certificate and key files are required.<br>**Note**: All file paths are made relative to the configuration data directory, which is `/var/lib/observability-pipelines-worker/config/` by default. See [Advanced Worker Configurations][3] for more information. The file must be owned by the `observability-pipelines-worker group` and `observability-pipelines-worker` user, or at least readable by the group or user.
19+
- `Server Certificate Path`: The path to the certificate file that has been signed by your Certificate Authority (CA) Root File in DER or PEM (X.509).
20+
- `CA Certificate Path`: The path to the certificate file that is your Certificate Authority (CA) Root File in DER or PEM (X.509).
21+
- `Private Key Path`: The path to the `.key` private key file that belongs to your Server Certificate Path in DER or PEM (PKCS #8) format.
1922

2023
## Set the environment variables
2124

@@ -26,4 +29,5 @@ Select and set up this source when you [set up a pipeline][1]. The information b
2629
{{% observability_pipelines/log_source_configuration/logstash %}}
2730

2831
[1]: /observability_pipelines/configuration/set_up_pipelines/
29-
[2]: /observability_pipelines/sources/filebeat/
32+
[2]: /observability_pipelines/sources/filebeat/
33+
[3]: /observability_pipelines/configuration/install_the_worker/advanced_worker_configurations/

content/en/observability_pipelines/sources/socket.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,40 @@ Use Observability Pipelines' Socket source to send logs to the Worker over a soc
1313

1414
Select and set up this source when you [set up a pipeline][1]. The information below is for the source settings in the pipeline UI.
1515

16-
{{% observability_pipelines/source_settings/socket %}}
16+
1. In the **Mode** dropdown menu, select the socket type to use.
17+
1. In the **Framing** dropdown menu, select how to delimit the stream of events.
18+
<table>
19+
<colgroup>
20+
<col style="width:40%">
21+
<col style="width:60%">
22+
</colgroup>
23+
<thead>
24+
<tr>
25+
<th>FRAMING METHOD</th>
26+
<th>DESCRIPTION</th>
27+
</tr>
28+
</thead>
29+
<tr>
30+
<td><code>newline_delimited</code></td>
31+
<td>Byte frames are delimited by a newline character.</td>
32+
</tr>
33+
<tr>
34+
<td><code>bytes</code></td>
35+
<td>Byte frames are passed through as-is according to the underlying I/O boundaries (for example, split between messages or stream segments).</td>
36+
</tr>
37+
<tr>
38+
<td><code>character_delimited</code></td>
39+
<td>Byte frames are delimited by a chosen character.</td>
40+
</tr>
41+
<tr>
42+
<td><code>chunked_gelf</code></td>
43+
<td>Byte frames are chunked GELF messages.</td>
44+
</tr>
45+
<tr>
46+
<td><code>octet_counting</code></td>
47+
<td>Byte frames are delimited according to the octet counting format.</td>
48+
</tr>
49+
</table>
1750

1851
## Set the environment variables
1952

content/en/observability_pipelines/sources/splunk_hec.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ Use Observability Pipelines' Splunk HTTP Event Collector (HEC) source to receive
1515

1616
Select and set up this source when you [set up a pipeline][1]. The information below is for the source settings in the pipeline UI.
1717

18-
{{% observability_pipelines/source_settings/splunk_hec %}}
18+
Optionally, toggle the switch to enable TLS. If you enable TLS, the following certificate and key files are required.<br>**Note**: All file paths are made relative to the configuration data directory, which is `/var/lib/observability-pipelines-worker/config/` by default. See [Advanced Worker Configurations][5] for more information. The file must be owned by the `observability-pipelines-worker group` and `observability-pipelines-worker` user, or at least readable by the group or user.
19+
- `Server Certificate Path`: The path to the certificate file that has been signed by your Certificate Authority (CA) Root File in DER or PEM (X.509).
20+
- `CA Certificate Path`: The path to the certificate file that is your Certificate Authority (CA) Root File in DER or PEM (X.509).
21+
- `Private Key Path`: The path to the `.key` private key file that belongs to your Server Certificate Path in DER or PEM (PKCS#8) format.
1922

2023
## Set the environment variables
2124

@@ -51,3 +54,4 @@ To send logs from the Splunk Distribution of the OpenTelemetry Collector:
5154
[2]: https://help.splunk.com/en/splunk-observability-cloud/manage-data/splunk-distribution-of-the-opentelemetry-collector/get-started-with-the-splunk-distribution-of-the-opentelemetry-collector/collector-for-kubernetes
5255
[3]: https://help.splunk.com/en/splunk-observability-cloud/manage-data/splunk-distribution-of-the-opentelemetry-collector/get-started-with-the-splunk-distribution-of-the-opentelemetry-collector/collector-for-linux
5356
[4]: /observability_pipelines/configuration/set_up_pipelines
57+
[5]: /observability_pipelines/configuration/install_the_worker/advanced_worker_configurations/

0 commit comments

Comments
 (0)