From 23f04ef8c9728eae0dbce68f7a42c4072c0c69fe Mon Sep 17 00:00:00 2001 From: Marat Abrarov Date: Thu, 29 Aug 2024 16:49:47 +0300 Subject: [PATCH] pipeline: outputs: es: wrapped literal values in "Description" column with backticks, fixed punctuation and reworded "Description" column. Signed-off-by: Marat Abrarov --- pipeline/outputs/elasticsearch.md | 50 +++++++++++++++---------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/pipeline/outputs/elasticsearch.md b/pipeline/outputs/elasticsearch.md index 0613e7e11..786507390 100644 --- a/pipeline/outputs/elasticsearch.md +++ b/pipeline/outputs/elasticsearch.md @@ -15,42 +15,42 @@ configuration. | Key | Description | Default | Overridable | | :--- | :--- | :--- | :--- | | Host | IP address or hostname of the target Elasticsearch instance. | `127.0.0.1` | Yes. Default value isn't applicable for NODE section of Upstream configuration, which **requires** Host to be specified. | -| Port | TCP port of the target Elasticsearch instance | `9200` | Yes. Default value isn't applicable for NODE section of Upstream configuration, which **requires** Port to be specified. | -| Path | Elasticsearch accepts new data on HTTP query path "/\_bulk". But it is also possible to serve Elasticsearch behind a reverse proxy on a subpath. This option defines such path on the fluent-bit side. It simply adds a path prefix in the indexing HTTP POST URI. | _empty string_ | Yes | -| compress | Set payload compression mechanism. Option available is 'gzip' | _none_ | Yes | +| Port | TCP port of the target Elasticsearch instance. | `9200` | Yes. Default value isn't applicable for NODE section of Upstream configuration, which **requires** Port to be specified. | +| Path | Elasticsearch accepts new data on HTTP query path `/_bulk`. It's also possible to serve Elasticsearch behind a reverse proxy on a subpath. This option defines such path on the fluent-bit side. It simply adds a path prefix in the indexing HTTP POST URI. | _empty string_ | Yes | +| compress | Set payload compression mechanism. Option available is `gzip`. | _none_ | Yes | | Buffer\_Size | Specify the buffer size used to read the response from the Elasticsearch HTTP service. This option is useful for debugging purposes where is required to read full responses, note that response size grows depending of the number of records inserted. To set an _unlimited_ amount of memory set this value to **False**, otherwise the value must be according to the [Unit Size](../../administration/configuring-fluent-bit/unit-sizes.md) specification. | `4KB` | Yes | | Pipeline | Newer versions of Elasticsearch allows to setup filters called pipelines. This option allows to define which pipeline the database should use. For performance reasons is strongly suggested to do parsing and filtering on Fluent Bit side, avoid pipelines. | _none_ | Yes | -| AWS\_Auth | Enable AWS Sigv4 Authentication for Amazon OpenSearch Service | Off | Yes | -| AWS\_Region | Specify the AWS region for Amazon OpenSearch Service | _none_ | Yes | -| AWS\_STS\_Endpoint | Specify the custom sts endpoint to be used with STS API for Amazon OpenSearch Service | _none_ | Yes | -| AWS\_Role\_ARN | AWS IAM Role to assume to put records to your Amazon cluster | _none_ | Yes | -| AWS\_External\_ID | External ID for the AWS IAM Role specified with `aws_role_arn` | _none_ | Yes | +| AWS\_Auth | Enable AWS Sigv4 Authentication for Amazon OpenSearch Service. | Off | Yes | +| AWS\_Region | Specify the AWS region for Amazon OpenSearch Service. | _none_ | Yes | +| AWS\_STS\_Endpoint | Specify the custom sts endpoint to be used with STS API for Amazon OpenSearch Service. | _none_ | Yes | +| AWS\_Role\_ARN | AWS IAM Role to assume to put records to your Amazon cluster. | _none_ | Yes | +| AWS\_External\_ID | External ID for the AWS IAM Role specified with `aws_role_arn`. | _none_ | Yes | | AWS\_Service\_Name | Service name to be used in AWS Sigv4 signature. For integration with Amazon OpenSearch Serverless, set to `aoss`. See the [FAQ](opensearch.md#faq) section on Amazon OpenSearch Serverless for more information. | `es` | Yes | -| AWS\_Profile | AWS profile name | `default` | Yes | -| Cloud\_ID | If you are using Elastic's Elasticsearch Service you can specify the cloud\_id of the cluster running. The Cloud ID string has the format `:`. Once decoded, the `base64_info` string has the format `$$`. | _none_ | No | -| Cloud\_Auth | Specify the credentials to use to connect to Elastic's Elasticsearch Service running on Elastic Cloud | _none_ | Yes | -| HTTP\_User | Optional username credential for Elastic X-Pack access | _none_ | Yes | -| HTTP\_Passwd | Password for user defined in HTTP\_User | _none_ | Yes | -| Index | Index name | `fluent-bit` | Yes | -| Type | Type name | `_doc` | Yes | -| Logstash\_Format | Enable Logstash format compatibility. This option takes a boolean value: True/False, On/Off | Off | Yes | -| Logstash\_Prefix | When Logstash\_Format is enabled, the Index name is composed using a prefix and the date, e.g: If Logstash\_Prefix is equals to 'mydata' your index will become 'mydata-YYYY.MM.DD'. The last string appended belongs to the date when the data is being generated. | `logstash` | Yes | -| Logstash\_Prefix\_Key | When included: the value of the key in the record will be evaluated as key reference and overrides Logstash\_Prefix for index generation. If the key/value is not found in the record then the Logstash\_Prefix option will act as a fallback. The parameter is expected to be a [record accessor](../../administration/configuring-fluent-bit/classic-mode/record-accessor.md). | _none_ | Yes | +| AWS\_Profile | AWS profile name. | `default` | Yes | +| Cloud\_ID | If you are using Elastic's Elasticsearch Service you can specify the cloud\_id of the cluster running. The Cloud ID string has the format `:`. After decoding, the `base64_info` string has the format `$$`. | _none_ | No | +| Cloud\_Auth | Specify the credentials to use to connect to Elastic's Elasticsearch Service running on Elastic Cloud. | _none_ | Yes | +| HTTP\_User | Optional username credential for Elastic X-Pack access. | _none_ | Yes | +| HTTP\_Passwd | Password for user defined in HTTP\_User. | _none_ | Yes | +| Index | Index name. | `fluent-bit` | Yes | +| Type | Type name. | `_doc` | Yes | +| Logstash\_Format | Enable Logstash format compatibility. This option takes a boolean value: True/False, On/Off. | Off | Yes | +| Logstash\_Prefix | When Logstash\_Format is enabled, the Index name is composed using a prefix and the date. For example, if Logstash\_Prefix is `mydata`, your index becomes `mydata-YYYY.MM.DD`. The last string appended belongs to the date when the data is being generated. | `logstash` | Yes | +| Logstash\_Prefix\_Key | When included, the value of the key in the record will be evaluated as key reference and overrides Logstash\_Prefix for index generation. If the key/value isn't found in the record, the Logstash\_Prefix option will act as a fallback. The parameter is expected to be a [record accessor](../../administration/configuring-fluent-bit/classic-mode/record-accessor.md). | _none_ | Yes | | Logstash\_Prefix\_Separator | Set a separator between logstash_prefix and date. | `-` | Yes | | Logstash\_DateFormat | Time format \(based on [strftime](http://man7.org/linux/man-pages/man3/strftime.3.html)\) to generate the second part of the Index name. | `%Y.%m.%d` | Yes | -| Time\_Key | When Logstash\_Format is enabled, each record will get a new timestamp field. The Time\_Key property defines the name of that field. | `@timestamp` | Yes | +| Time\_Key | When Logstash\_Format is enabled, each record gets a new timestamp field. The Time\_Key property defines the name of that field. | `@timestamp` | Yes | | Time\_Key\_Format | When Logstash\_Format is enabled, this property defines the format of the timestamp. | `%Y-%m-%dT%H:%M:%S` | Yes | | Time\_Key\_Nanos | When Logstash\_Format is enabled, enabling this property sends nanosecond precision timestamps. | Off | Yes | | Include\_Tag\_Key | When enabled, it append the Tag name to the record. | Off | Yes | | Tag\_Key | When Include\_Tag\_Key is enabled, this property defines the key name for the tag. | `_flb-key` | Yes | | Generate\_ID | When enabled, generate `_id` for outgoing records. This prevents duplicate records when retrying ES. | Off | Yes | -| Id\_Key | If set, `_id` will be the value of the key from incoming record and `Generate_ID` option is ignored. | _none_ | Yes | -| Write\_Operation | The write\_operation can be any of: create (default), index, update, upsert. | `create` | Yes | +| Id\_Key | If set, `_id` is the value of the key from incoming record, and `Generate_ID` option is ignored. | _none_ | Yes | +| Write\_Operation | The write\_operation can be any of: `create`, `index`, `update`, `upsert`. | `create` | Yes | | Replace\_Dots | When enabled, replace field name dots with underscore, required by Elasticsearch 2.0-2.3. | Off | Yes | -| Trace\_Output | Print all elasticsearch API request payloads to stdout \(for diag only\) | Off | Yes | -| Trace\_Error | If elasticsearch return an error, print the elasticsearch API request and response \(for diag only\) | Off | Yes | -| Current\_Time\_Index | Use current time for index generation instead of message record | Off | Yes | -| Suppress\_Type\_Name | When enabled, mapping types is removed and `Type` option is ignored. If using Elasticsearch 8.0.0 or higher - it [no longer supports mapping types](https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html), so it shall be set to On. | Off | Yes | +| Trace\_Output | Print all elasticsearch API request payloads to stdout. For diagnostic use only. | Off | Yes | +| Trace\_Error | If elasticsearch return an error, print the elasticsearch API request and response. For diagnostic use only. | Off | Yes | +| Current\_Time\_Index | Use current time for index generation instead of message record. | Off | Yes | +| Suppress\_Type\_Name | When enabled, mapping types is removed and `Type` option is ignored. Elasticsearch 8.0.0 or later [doesn't support mapping types](https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html), which requires this value to be On. | Off | Yes | | Workers | The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. | `2` | No | | Upstream | If plugin will connect to an _Upstream_ instead of a simple host, this property defines the absolute path for the Upstream configuration file, for more details about this refer to the [Upstream Servers](../../administration/configuring-fluent-bit/classic-mode/upstream-servers.md) documentation section. | _none_ | No |