Skip to content

Commit ccb2779

Browse files
Merge pull request #1979 from fluent/alexakreizinger/sc-136253/update-fluent-bit-docs-pipeline-outputs-observe
2 parents 466c162 + 80fca82 commit ccb2779

File tree

1 file changed

+20
-22
lines changed

1 file changed

+20
-22
lines changed

pipeline/outputs/observe.md

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,28 @@
11
# Observe
22

3-
Observe employs the **http** output plugin, allowing you to flush your records [into Observe](https://docs.observeinc.com/en/latest/content/data-ingestion/forwarders/fluentbit.html).
3+
Use the [HTTP output plugin](../pipeline/outputs/http) to flush your records [into Observe](https://docs.observeinc.com/en/latest/content/data-ingestion/forwarders/fluentbit.html). It issues a POST request with the data records in [MessagePack](http://msgpack.org) (or JSON) format.
44

5-
For now the functionality is pretty basic, and it issues a POST request with the data records in [MessagePack](http://msgpack.org) (or JSON) format.
5+
## Configuration parameters
66

7-
The following are the specific HTTP parameters to employ:
7+
The following HTTP configuration parameters are relevant to Observe:
88

9-
## Configuration Parameters
9+
| Key | Description | Default |
10+
| --- | ----------- | ------- |
11+
| `host` | IP address or hostname of the Observe data collection endpoint. Replace `$(OBSERVE_CUSTOMER)` with your [Customer ID](https://docs.observeinc.com/en/latest/content/common-topics/HelpfulHints.html?highlight=customer%20id#customer-id). | `OBSERVE_CUSTOMER.collect.observeinc.com` |
12+
| `port` | TCP port to use when sending data to Observe. | `443` |
13+
| `tls` | Specifies whether to use TLS. | `on` |
14+
| `uri` | Specifies the HTTP URI for Observe. | `/v1/http/fluentbit` |
15+
| `format` | The data format to be used in the HTTP request body. | `msgpack` |
16+
| `header` | The specific header that provides the Observe token needed to authorize sending data [into a data stream](https://docs.observeinc.com/en/latest/content/data-ingestion/datastreams.html?highlight=ingest%20token#create-a-datastream). | 'Authorization Bearer ${OBSERVE_TOKEN}' |
17+
| `header` | The specific header that instructs Observe how to decode incoming payloads. | `X-Observe-Decoder fluent` |
18+
| `compress` | Sets the payload compression mechanism. Possible values: `gzip`, `false`. | `gzip` |
19+
| `tls.ca_file` | For Windows only: the path to the root cert. | _none_ |
20+
| `workers` | The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. | `0` |
1021

11-
| Key | Description | default |
12-
|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------|
13-
| host | IP address or hostname of Observe's data collection endpoint. $(OBSERVE_CUSTOMER) is your [Customer ID](https://docs.observeinc.com/en/latest/content/common-topics/HelpfulHints.html?highlight=customer%20id#customer-id) | OBSERVE_CUSTOMER.collect.observeinc.com |
14-
| port | TCP port of to employ when sending to Observe | 443 |
15-
| tls | Specify to use tls | on |
16-
| uri | Specify the HTTP URI for the Observe's data ingest | /v1/http/fluentbit |
17-
| format | The data format to be used in the HTTP request body | msgpack |
18-
| header | The specific header that provides the Observe token needed to authorize sending data [into a data stream](https://docs.observeinc.com/en/latest/content/data-ingestion/datastreams.html?highlight=ingest%20token#create-a-datastream). | Authorization Bearer ${OBSERVE_TOKEN} |
19-
| header | The specific header to instructs Observe how to decode incoming payloads | X-Observe-Decoder fluent |
20-
| compress | Set payload compression mechanism. Option available is 'gzip' | gzip |
21-
| tls.ca_file | **For use with Windows**: provide path to root cert | |
22-
| workers | The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. | 0 |
23-
24-
### Configuration File
22+
### Configuration file
2523

2624
In your main configuration file append the following:
2725

28-
2926
{% tabs %}
3027
{% tab title="fluent-bit.yaml" %}
3128

@@ -37,16 +34,17 @@ pipeline:
3734
match: '*'
3835
host: my-observe-customer-id.collect.observeinc.com
3936
port: 443
40-
tls: on
37+
tls: on
4138
uri: /v1/http/fluentbit
4239
format: msgpack
43-
header:
40+
header:
4441
- 'Authorization Bearer ${OBSERVE_TOKEN}'
4542
- 'X-Observe-Decoder fluent'
4643
compress: gzip
4744
# For Windows: provide path to root cert
4845
#tls.ca_file C:\fluent-bit\isrgrootx1.pem
4946
```
47+
5048
{% endtab %}
5149
{% tab title="fluent-bit.conf" %}
5250

@@ -70,4 +68,4 @@ pipeline:
7068
```
7169

7270
{% endtab %}
73-
{% endtabs %}
71+
{% endtabs %}

0 commit comments

Comments
 (0)